pronounsfu/Makefile

16 lines
281 B
Makefile
Raw Normal View History

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-05-14 07:46:03 -07:00
.PHONY: backend
backend:
2022-05-02 08:19:37 -07:00
go build -v -o api -ldflags="-buildid= -X gitlab.com/1f320/pronouns/backend/server.Revision=`git rev-parse --short HEAD`" ./backend
2022-05-14 07:46:03 -07:00
.PHONY: frontend
frontend:
yarn build
.PHONY: dev
dev:
yarn dev