Skip to content

Commit

Permalink
tidy up Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhadfield committed Mar 13, 2022
1 parent fc775f2 commit f00a63c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SOURCE_FILES?=$$(go list ./... | grep -v /vendor/ | grep -v /mocks/)
SOURCE_FILES?=$$(go list ./...)
TEST_PATTERN?=.
TEST_OPTIONS?=-race -v

Expand All @@ -16,7 +16,7 @@ cover: test
go tool cover -html=coverage.txt

fmt:
find . -name '*.go' -not -wholename './vendor/*' | while read -r file; do gofumpt -w -s "$$file"; gofumports -w "$$file"; done
find . -name '*.go' | while read -r file; do gofumpt -w -s "$$file"; gofumports -w "$$file"; done
lint:
golangci-lint run --tests=false --enable-all --disable lll --disable interfacer --disable gochecknoglobals
ci: lint test
Expand Down

0 comments on commit f00a63c

Please sign in to comment.