2022-05-14 07:46:03 -07:00
|
|
|
.PHONY: migrate
|
2022-05-02 08:19:37 -07:00
|
|
|
migrate:
|
2022-05-12 07:41:32 -07:00
|
|
|
go run -v ./scripts/migrate
|
2022-05-02 08:19:37 -07:00
|
|
|
|
2022-11-19 18:11:01 -08:00
|
|
|
.PHONY: seeddb
|
|
|
|
seeddb:
|
|
|
|
go run -v ./scripts/seeddb
|
|
|
|
|
2022-05-14 07:46:03 -07:00
|
|
|
.PHONY: backend
|
2022-08-15 15:01:54 -07:00
|
|
|
backend:
|
2023-03-15 02:04:48 -07:00
|
|
|
CGO_ENABLED=0 go build -v -o pronouns -ldflags="-buildid= -X codeberg.org/u1f320/pronouns.cc/backend/server.Revision=`git rev-parse --short HEAD` -X codeberg.org/u1f320/pronouns.cc/backend/server.Tag=`git describe --tags --long`" .
|
2023-01-14 08:33:18 -08:00
|
|
|
|
|
|
|
.PHONY: generate
|
|
|
|
generate:
|
|
|
|
go generate ./...
|