diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -2,15 +2,23 @@ ## SPDX-License-Identifier: GPL-3.0-or-later .PHONY: all -all: lint +all: lint test go run ./internal/cmd/trunks build - CGO_ENABLED=1 go test -v -race ./... - -golangci-lint run ./... .PHONY: lint -lint: +lint: lint-www + -revive ./... + -fieldalignment ./... + -shadow ./... + +.PHONY: lint-www +lint-www: cd _www && npx eslint --fix . +.PHONY: test +test: + CGO_ENABLED=1 go test -v -race ./... + .PHONY: dev dev: go run ./internal/cmd/trunks |
