aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-04-06 00:28:08 -0400
committerGitHub <noreply@github.com>2025-04-06 00:28:08 -0400
commit95416dfe82ae8aefdad7537584db32710d41b287 (patch)
tree7a1a49131578cae9125637a8ac3361a05ce1744e /Makefile
parente58abbe4ded17c1a6cca57b54f0eecf16654c146 (diff)
downloadanubis-95416dfe82ae8aefdad7537584db32710d41b287.tar.xz
anubis-95416dfe82ae8aefdad7537584db32710d41b287.zip
Makefile: fix subtle logic bug (#228)
Closes #226 Makefile dependencies are backwards, apparently. Also add staticcheck as a `go tool` dependency.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 380d9f1..c16fa57 100644
--- a/Makefile
+++ b/Makefile
@@ -2,12 +2,10 @@ NODE_MODULES = node_modules
.PHONY: build assets deps lint test
-$(NODE_MODULES):
+assets:
npm run assets
-assets: $(NODE_MODULES)
-
-deps: assets
+deps:
npm ci
go mod download
@@ -19,7 +17,7 @@ all: build
lint:
go vet ./...
- staticcheck ./...
+ go tool staticcheck ./...
test:
npm run test \ No newline at end of file