1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2025-07-26 00:00:29 +00:00

Makefile: staticcheck is included in golangci-lint

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2023-11-05 08:59:58 -05:00
parent c216f6c013
commit 2de52e4fb9
Signed by: vbatts
GPG key ID: E30EFAA812C6E5ED

View file

@ -14,7 +14,7 @@ default: build validation
validation: .test .vet .cli.test
.PHONY: validation.tags
validation.tags: .test.tags .vet.tags .cli.test .staticcheck
validation.tags: .test.tags .vet.tags .cli.test
.PHONY: gocyclo
gocyclo: .gocyclo
@ -24,14 +24,6 @@ CLEAN_FILES += .gocyclo
.gocyclo:
gocyclo -avg -over 15 -ignore 'vendor/*' . && touch $@
.PHONY: staticcheck
staticcheck: .staticcheck
CLEAN_FILES += .staticcheck
.staticcheck:
staticcheck . && touch $@
.PHONY: test
test: .test
@ -83,7 +75,6 @@ $(BUILD): $(SOURCE_FILES)
install.tools:
@go install github.com/fatih/color@latest ; \
go install github.com/fzipp/gocyclo/cmd/gocyclo@latest ; \
go install honnef.co/go/tools/cmd/staticcheck@latest ; \
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
./bin: