Move formatting to gofumpt (from gofmt)
This commit is contained in:
1 parent
d8092fc9d5
commit
e4923b500a
3 files changed
+7
-4
No files matched your search
@@ -19,7 +19,7 @@ test:
|
||||
go test ./...
|
||||
|
||||
validate:
|
||||
@test -z "$(shell gofmt -l .)" || (echo "Incorrect formatting in:"; gofmt -l .; exit 1)
|
||||
@test -z "$(shell gofumpt -l .)" && echo "No files need formatting" || (echo "Incorrect formatting in:"; gofumpt -l .; exit 1)
|
||||
go vet ./...
|
||||
|
||||
clean:
|
||||
|
||||
Reference in new issue
Block a user