packer-cn/vendor/github.com/mitchellh/cli/Makefile

18 lines
377 B
Makefile
Raw Normal View History

2017-04-05 01:07:17 -04:00
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 mod download
2017-04-05 01:07:17 -04:00
.PHONY: test testrace updatedeps