fix: appease formatter, ignore vendor

This commit is contained in:
2024-10-21 16:46:39 +02:00
parent 3b3ce85ef9
commit 1f9b863be0
2 changed files with 6 additions and 6 deletions

View File

@ -45,10 +45,10 @@ clean:
@rm '$(GOPATH)/bin/kadabra'
format:
@gofmt -s -w .
@gofmt -s -w $$(find . -type f -name '*.go' | grep -v "/vendor/")
check:
@test -z $$(gofmt -l .) || \
@test -z $$(gofmt -l $$(find . -type f -name '*.go' | grep -v "/vendor/")) || \
(echo "gofmt: formatting issue - run 'make format' to resolve" && exit 1)
test: