mirror of
https://github.com/TecharoHQ/anubis.git
synced 2025-08-03 17:59:24 -04:00
28 lines
340 B
Makefile
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
|