authorizer/Makefile

16 lines
470 B
Makefile
Raw Permalink Normal View History

DEFAULT_VERSION=0.1.0-local
VERSION := $(or $(VERSION),$(DEFAULT_VERSION))
cmd:
2021-12-24 12:17:35 +00:00
cd server && go build -ldflags "-w -X main.VERSION=$(VERSION)" -o '../build/server'
2021-12-28 22:46:31 +00:00
build-app:
cd app && npm i && npm run build
build-dashboard:
cd dashboard && npm i && npm run build
clean:
rm -rf build
test:
2022-01-17 06:02:13 +00:00
cd server && go clean --testcache && go test -v ./test
generate:
2022-02-12 14:06:29 +00:00
cd server && go get github.com/99designs/gqlgen/cmd@v0.14.0 && go run github.com/99designs/gqlgen generate