build: update goclean.sh to properly test all packages
In this commit, we update our `go list` command to account for the changes to the output of the command when modules are active. If modules are active, then any packages which are themselves a sub-module won't properly be listed.
This commit is contained in:
parent
95064ae858
commit
e7e46cd6f9
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
test_targets=$(go list ./...)
|
test_targets=$(go list -deps ./... | grep 'btcwallet')
|
||||||
|
|
||||||
# Automatic checks
|
# Automatic checks
|
||||||
test -z "$(go fmt $test_targets | tee /dev/stderr)"
|
test -z "$(go fmt $test_targets | tee /dev/stderr)"
|
||||||
|
|
Loading…
Reference in a new issue