From 6c12445fd5b2105b943c6f7ef87223ce9a3937ed Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Tue, 14 Apr 2015 14:13:13 -0500 Subject: [PATCH] build: Make goclean.sh script output more verbose. This commit makes the goclean script print every line it is executing so any failures are more obvious where they're coming from. Closes #361. --- goclean.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/goclean.sh b/goclean.sh index cdc12113..29630a12 100755 --- a/goclean.sh +++ b/goclean.sh @@ -7,7 +7,7 @@ # 5. race detector (http://blog.golang.org/race-detector) # 6. test coverage (http://blog.golang.org/cover) -set -e +set -ex # Automatic checks test -z $(gofmt -l -w . | tee /dev/stderr) @@ -18,6 +18,7 @@ env GORACE="halt_on_error=1" go test -v -race ./... # Run test coverage on each subdirectories and merge the coverage profile. +set +x echo "mode: count" > profile.cov # Standard go tooling behavior is to ignore dirs with leading underscores.