diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -169,7 +169,13 @@ golangci-lint: .gopathok varlink_generate .install.golangci-lint .PHONY: gofmt gofmt: ## Verify the source code gofmt - find . -name '*.go' ! -path './vendor/*' -exec gofmt -s -w {} \+ + find . -name '*.go' -type f \ + -not \( \ + -name '.golangci.yml' -o \ + -name 'Makefile' -o \ + -path './vendor/*' -prune -o \ + -path './contrib/*' -prune \ + \) -exec gofmt -d -e -s -w {} \+ git diff --exit-code .PHONY: test/checkseccomp/checkseccomp |