mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-11 11:08:48 +00:00
Makefile: fix subtle logic bug (#228)
Closes #226 Makefile dependencies are backwards, apparently. Also add staticcheck as a `go tool` dependency.
This commit is contained in:
8
Makefile
8
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
|
||||
Reference in New Issue
Block a user