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.
This commit is contained in:
parent
dea7ef364c
commit
6c12445fd5
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
# 5. race detector (http://blog.golang.org/race-detector)
|
# 5. race detector (http://blog.golang.org/race-detector)
|
||||||
# 6. test coverage (http://blog.golang.org/cover)
|
# 6. test coverage (http://blog.golang.org/cover)
|
||||||
|
|
||||||
set -e
|
set -ex
|
||||||
|
|
||||||
# Automatic checks
|
# Automatic checks
|
||||||
test -z $(gofmt -l -w . | tee /dev/stderr)
|
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.
|
# Run test coverage on each subdirectories and merge the coverage profile.
|
||||||
|
|
||||||
|
set +x
|
||||||
echo "mode: count" > profile.cov
|
echo "mode: count" > profile.cov
|
||||||
|
|
||||||
# Standard go tooling behavior is to ignore dirs with leading underscores.
|
# Standard go tooling behavior is to ignore dirs with leading underscores.
|
||||||
|
|
Loading…
Add table
Reference in a new issue