pronounscc/Makefile

16 lines
337 B
Makefile
Raw Normal View History

2022-05-14 16:46:03 +02:00
.PHONY: migrate
2022-05-02 17:19:37 +02:00
migrate:
2022-05-12 16:41:32 +02:00
go run -v ./scripts/migrate
2022-05-02 17:19:37 +02:00
2022-11-20 03:11:01 +01:00
.PHONY: seeddb
seeddb:
go run -v ./scripts/seeddb
2022-05-14 16:46:03 +02:00
.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 ./...