Browse Source

tech(build): echo before running go fmt/vet

bergquist 9 years ago
parent
commit
5a7abe365c
1 changed files with 5 additions and 1 deletions
  1. 5 1
      scripts/circle-test.sh

+ 5 - 1
scripts/circle-test.sh

@@ -18,9 +18,13 @@ yarn install --pure-lockfile
 
 
 exit_if_fail npm test
 exit_if_fail npm test
 
 
+echo "running go fmt"
 exit_if_fail test -z "$(gofmt -s -l ./pkg | tee /dev/stderr)"
 exit_if_fail test -z "$(gofmt -s -l ./pkg | tee /dev/stderr)"
-exit_if_fail go run build.go build
+
+echo "running go vet"
 exit_if_fail test -z "$(go vet ./pkg/... | tee /dev/stderr)"
 exit_if_fail test -z "$(go vet ./pkg/... | tee /dev/stderr)"
+
+exit_if_fail go run build.go build
 exit_if_fail go test -v ./pkg/...
 exit_if_fail go test -v ./pkg/...