Commit 32dbbfd6 authored by Matthew Holt's avatar Matthew Holt

Better way of checking gofmt

parent 3395f6c7
......@@ -22,7 +22,7 @@ install:
- go get github.com/gordonklaus/ineffassign
script:
- "[ -z \"$(find -name \"*.go\" | xargs gofmt -s -l)\" ] || exit 1"
- diff <(echo -n) <(gofmt -s -d .)
- ineffassign .
- go vet ./...
- go test ./...
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment