From f00a63c6263d72e83b9e2e6f1e5844ff0f4a60b3 Mon Sep 17 00:00:00 2001 From: Jon Hadfield Date: Sat, 27 Nov 2021 10:18:47 +0000 Subject: [PATCH] tidy up Makefile. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e0cbfa9..e527289 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -SOURCE_FILES?=$$(go list ./... | grep -v /vendor/ | grep -v /mocks/) +SOURCE_FILES?=$$(go list ./...) TEST_PATTERN?=. TEST_OPTIONS?=-race -v @@ -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