Install complete packages including subdirectories
This commit is contained in:
parent
f0bb13f727
commit
40528dea00
|
@ -8,7 +8,7 @@ packages=$(find ./ -maxdepth 2 -name '*.go' -printf '%h\n' | sort | uniq)
|
||||||
packages=$(echo "$packages" | sed '/consul/d')
|
packages=$(echo "$packages" | sed '/consul/d')
|
||||||
|
|
||||||
# Install the AWS SDK which is explicitly not vendored
|
# Install the AWS SDK which is explicitly not vendored
|
||||||
go get -u github.com/aws/aws-sdk-go
|
go get -u -v github.com/aws/aws-sdk-go/...
|
||||||
|
|
||||||
# Test all packages which are allowed on all Go versions
|
# Test all packages which are allowed on all Go versions
|
||||||
go test $packages
|
go test $packages
|
||||||
|
@ -21,7 +21,7 @@ if [[ "$goversion" != *"go1.3"* ]] &&
|
||||||
[[ "$goversion" != *"go1.5"* ]]; then
|
[[ "$goversion" != *"go1.5"* ]]; then
|
||||||
|
|
||||||
# Install the Consul packages which are not vendored.
|
# Install the Consul packages which are not vendored.
|
||||||
go get -u github.com/hashicorp/consul
|
go get -u -v github.com/hashicorp/consul/...
|
||||||
|
|
||||||
go test ./consullocker
|
go test ./consullocker
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue