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:
parent
c216f6c013
commit
2de52e4fb9
1 changed files with 1 additions and 10 deletions
11
Makefile
11
Makefile
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue