mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-02-10 05:49:04 -06:00
Closes #226 Makefile dependencies are backwards, apparently. Also add staticcheck as a `go tool` dependency.
23 lines
275 B
Makefile
23 lines
275 B
Makefile
NODE_MODULES = node_modules
|
|
|
|
.PHONY: build assets deps lint test
|
|
|
|
assets:
|
|
npm run assets
|
|
|
|
deps:
|
|
npm ci
|
|
go mod download
|
|
|
|
build: deps
|
|
npm run build
|
|
@echo "Anubis is now built to ./var/anubis"
|
|
|
|
all: build
|
|
|
|
lint:
|
|
go vet ./...
|
|
go tool staticcheck ./...
|
|
|
|
test:
|
|
npm run test
|