anubis/Makefile
Xe Iaso a202370bce
import yeet as a go.mod level tool
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-04-06 00:13:00 -04:00

28 lines
340 B
Makefile

NODE_MODULES = node_modules
.PHONY: build assets deps lint test package
$(NODE_MODULES):
npm run assets
assets: $(NODE_MODULES)
deps: assets
npm ci
go mod download
build: deps
npm run build
@echo "Anubis is now built to ./var/anubis"
all: build
lint:
go vet ./...
staticcheck ./...
test:
npm run test
package:
go tool yeet