Commit 5a7abe36 by bergquist

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

parent 57d36b3d
...@@ -18,9 +18,13 @@ yarn install --pure-lockfile ...@@ -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/...
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