diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -3,12 +3,18 @@ .PHONY: all test build install serve-doc -all: test build +all: test lint build test: CGO_ENABLED=1 go test -race -failfast -coverprofile=cover.out ./... go tool cover -html=cover.out -o cover.html +.PHONY: lint +lint: + -revive ./... + -fieldalignment ./... + -shadow ./... + build: mkdir -p _sys/usr/bin/ go build -o _sys/usr/bin/ ./cmd/... |
