diff --git a/Makefile b/Makefile index 649fd1b32..2e49e9d09 100644 --- a/Makefile +++ b/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