aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/github.com/mitchellh/cli/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/mitchellh/cli/Makefile')
-rw-r--r--vendor/github.com/mitchellh/cli/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/vendor/github.com/mitchellh/cli/Makefile b/vendor/github.com/mitchellh/cli/Makefile
new file mode 100644
index 0000000..4874b00
--- /dev/null
+++ b/vendor/github.com/mitchellh/cli/Makefile
@@ -0,0 +1,20 @@
1TEST?=./...
2
3default: test
4
5# test runs the test suite and vets the code
6test:
7 go list $(TEST) | xargs -n1 go test -timeout=60s -parallel=10 $(TESTARGS)
8
9# testrace runs the race checker
10testrace:
11 go list $(TEST) | xargs -n1 go test -race $(TESTARGS)
12
13# updatedeps installs all the dependencies to run and build
14updatedeps:
15 go list ./... \
16 | xargs go list -f '{{ join .Deps "\n" }}{{ printf "\n" }}{{ join .TestImports "\n" }}' \
17 | grep -v github.com/mitchellh/cli \
18 | xargs go get -f -u -v
19
20.PHONY: test testrace updatedeps