authorizer/Makefile
2021-12-29 11:56:19 +05:30

13 lines
354 B
Makefile

DEFAULT_VERSION=0.1.0-local
VERSION := $(or $(VERSION),$(DEFAULT_VERSION))
cmd:
cd server && go build -ldflags "-w -X main.VERSION=$(VERSION)" -o '../build/server'
build-app:
cd app && npm i && npm run build
build-dashboard:
cd dashboard && npm i && npm run build
clean:
rm -rf build
test:
cd server && go clean --testcache && go test -v ./__test__