Tweak some of the makefile help messages for clarity

This commit is contained in:
Chris Bednarski 2015-05-29 10:45:20 -07:00
parent ac27055203
commit 7e51225ca9
1 changed files with 3 additions and 2 deletions

View File

@ -23,7 +23,8 @@ test: generate
# testacc runs acceptance tests
testacc: generate
@if [ "$(TEST)" = "./..." ]; then \
echo "ERROR: Set TEST to a specific package"; \
echo "ERROR: Set TEST to a specific package. For example,"; \
echo " make TEST=builtin/providers/aws/resource_aws_instance.go testacc"; \
exit 1; \
fi
TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 45m
@ -61,7 +62,7 @@ vet:
@go tool vet $(VETARGS) . ; if [ $$? -eq 1 ]; then \
echo ""; \
echo "Vet found suspicious constructs. Please check the reported constructs"; \
echo "and fix them if necessary before submitting the code for reviewal."; \
echo "and fix them if necessary before submitting the code for review."; \
fi
# generate runs `go generate` to build the dynamically generated