]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blob - vendor/github.com/mitchellh/cli/Makefile
Merge branch 'fix_read_test' of github.com:alexandreFre/terraform-provider-statuscake
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / mitchellh / cli / Makefile
1 TEST?=./...
2
3 default: test
4
5 # test runs the test suite and vets the code
6 test:
7 go list $(TEST) | xargs -n1 go test -timeout=60s -parallel=10 $(TESTARGS)
8
9 # testrace runs the race checker
10 testrace:
11 go list $(TEST) | xargs -n1 go test -race $(TESTARGS)
12
13 # updatedeps installs all the dependencies to run and build
14 updatedeps:
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