diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,6 +1,7 @@ NODE_MODULES = node_modules +VERSION := $(shell cat ./VERSION) -.PHONY: build assets deps lint test +.PHONY: build assets deps lint prebaked-build test assets: npm run assets @@ -19,5 +20,8 @@ lint: go vet ./... go tool staticcheck ./... +prebaked-build: + go build -o ./var/anubis -ldflags "-X 'github.com/TecharoHQ/anubis.Version=$(VERSION)'" ./cmd/anubis + test: npm run test
\ No newline at end of file |
