Skip to content

Commit

Permalink
Fix gocheck target
Browse files Browse the repository at this point in the history
  • Loading branch information
cblecker committed May 27, 2020
1 parent f800e1f commit e5581ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion standard.mk
Expand Up @@ -58,7 +58,7 @@ push:

.PHONY: gocheck
gocheck: ## Lint code
gofmt -s -l $(shell go list -f '{{ .Dir }}' ./... ) | grep ".*\.go"; if [ "$$?" = "0" ]; then gofmt -s -d $(shell go list -f '{{ .Dir }}' ./... ); exit 1; fi
gofmt -s -l ./... | grep ".*\.go"; if [ "$$?" = "0" ]; then gofmt -s -d ./...; exit 1; fi
go vet ./cmd/... ./pkg/...

.PHONY: gobuild
Expand Down

0 comments on commit e5581ab

Please sign in to comment.