mirror of
https://codeberg.org/pronounscc/pronouns.cc.git
synced 2024-11-20 14:29:52 +01:00
15 lines
337 B
Makefile
15 lines
337 B
Makefile
.PHONY: migrate
|
|
migrate:
|
|
go run -v ./scripts/migrate
|
|
|
|
.PHONY: seeddb
|
|
seeddb:
|
|
go run -v ./scripts/seeddb
|
|
|
|
.PHONY: backend
|
|
backend:
|
|
CGO_ENABLED=0 go build -v -o pronouns -ldflags="-buildid= -X codeberg.org/u1f320/pronouns.cc/backend/server.Revision=`git rev-parse --short HEAD`" ./backend
|
|
|
|
.PHONY: generate
|
|
generate:
|
|
go generate ./...
|