2
2
mirror of https://github.com/octoleo/restic.git synced 2024-05-28 22:50:48 +00:00

Add gofmt test to wercker.yml

This commit is contained in:
Alexander Neumann 2015-02-15 14:48:21 +01:00
parent 59cfc4bd03
commit 937c91e1cf

View File

@ -7,6 +7,13 @@ build:
# at the right place in the workspace tree
- setup-go-workspace
# Test go formatting
- script:
name: gofmt
code: |
gofmt -l *.go */*.go */*/*.go
test -z "$(gofmt -l *.go */*.go */*/*.go)"
# Gets the dependencies
- script:
name: go get