aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-04-06 08:41:47 -0400
committerGitHub <noreply@github.com>2025-04-06 08:41:47 -0400
commitab52d902d5b04d90fe61ca8cb3d43eebce7260b5 (patch)
treea470b34d27e1e0d1eb16d2e8ffac4373b2cdd764 /Makefile
parent3661392216783dbb0c186a2cc94c7ad7801bb099 (diff)
parentf1f8fdf7529daccad8fffe97ca6c868f7a9472c7 (diff)
downloadanubis-Xe/pre-npm-tarball.tar.xz
anubis-Xe/pre-npm-tarball.zip
Merge branch 'main' into Xe/pre-npm-tarballXe/pre-npm-tarball
Signed-off-by: Xe Iaso <me@xeiaso.net>
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