We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1382da commit e9cc07dCopy full SHA for e9cc07d
Makefile
@@ -34,9 +34,11 @@ test: unit-test integration-test-all
34
generate:
35
go generate ./...
36
37
+# If you execute `gofumpt -l -w .`, it will format all Go files in the current directory, including `test/_results/*` files.
38
+# We pass only Git-tracked Go files to gofumpt because we don't want to format the test results or get errors from it.
39
.PHONY: format
40
format:
- gofumpt -l -w .
41
+ git ls-files '*.go' ':!vendor' | xargs gofumpt -l -w
42
43
.PHONY: lint
44
lint:
0 commit comments