aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 2552c3d..9b8b61c 100644
--- a/Makefile
+++ b/Makefile
@@ -3,12 +3,10 @@ VERSION := $(shell cat ./VERSION)
.PHONY: build assets deps lint prebaked-build test
-$(NODE_MODULES):
+assets:
npm run assets
-assets: $(NODE_MODULES)
-
-deps: assets
+deps:
npm ci
go mod download
@@ -20,7 +18,7 @@ all: build
lint:
go vet ./...
- staticcheck ./...
+ go tool staticcheck ./...
prebaked-build:
go build -o ./var/anubis -ldflags "-X 'github.com/TecharoHQ/anubis.Version=$(VERSION)'" ./cmd/anubis