From 937c91e1cf2c3524f53d4376479abe5747bed080 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 15 Feb 2015 14:48:21 +0100 Subject: [PATCH] Add gofmt test to wercker.yml --- wercker.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wercker.yml b/wercker.yml index 9a74ba87e..7c17214b7 100644 --- a/wercker.yml +++ b/wercker.yml @@ -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