Merge pull request #903 from hashicorp/updatedeps-without-deplist
Makefile: simplify updatedeps; no need for deplist
This commit is contained in:
commit
e3a64ef5a5
5
Makefile
5
Makefile
|
@ -32,12 +32,11 @@ testrace: generate
|
|||
# updatedeps installs all the dependencies that Terraform needs to run
|
||||
# and build.
|
||||
updatedeps:
|
||||
go get -u github.com/phinze/deplist
|
||||
go get -u github.com/mitchellh/gox
|
||||
go get -u golang.org/x/tools/cmd/stringer
|
||||
go get -u golang.org/x/tools/cmd/vet
|
||||
go list github.com/hashicorp/terraform/... \
|
||||
| xargs -n 1 deplist -s \
|
||||
go list ./... \
|
||||
| xargs go list -f '{{join .Deps "\n"}}' \
|
||||
| grep -v github.com/hashicorp/terraform \
|
||||
| sort -u \
|
||||
| xargs go get -f -u -v
|
||||
|
|
Loading…
Reference in New Issue