From dba189f587d03064f56e21148c106f996e1ae172 Mon Sep 17 00:00:00 2001 From: Matthew Hooker Date: Tue, 4 Apr 2017 22:07:17 -0700 Subject: [PATCH] update vendors slightly --- vendor/github.com/mitchellh/cli/Makefile | 20 ++++++++++++++++++++ vendor/vendor.json | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 vendor/github.com/mitchellh/cli/Makefile diff --git a/vendor/github.com/mitchellh/cli/Makefile b/vendor/github.com/mitchellh/cli/Makefile new file mode 100644 index 000000000..4874b0082 --- /dev/null +++ b/vendor/github.com/mitchellh/cli/Makefile @@ -0,0 +1,20 @@ +TEST?=./... + +default: test + +# test runs the test suite and vets the code +test: + go list $(TEST) | xargs -n1 go test -timeout=60s -parallel=10 $(TESTARGS) + +# testrace runs the race checker +testrace: + go list $(TEST) | xargs -n1 go test -race $(TESTARGS) + +# updatedeps installs all the dependencies to run and build +updatedeps: + go list ./... \ + | xargs go list -f '{{ join .Deps "\n" }}{{ printf "\n" }}{{ join .TestImports "\n" }}' \ + | grep -v github.com/mitchellh/cli \ + | xargs go get -f -u -v + +.PHONY: test testrace updatedeps diff --git a/vendor/vendor.json b/vendor/vendor.json index 96dc50dd4..94fce7ed1 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -964,5 +964,5 @@ "revision": "860cbeca3ebcc600db0b213c0e83ad6ce91f5739" } ], - "rootPath": "github.com/mitchellh/packer" + "rootPath": "github.com/hashicorp/packer" }