Merge pull request #2141 from hashicorp/makefile-help-messages

Tweak some of the makefile help messages for clarity
This commit is contained in:
Chris Bednarski 2015-05-29 13:44:32 -07:00
commit 96d18a8ee6
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 testacc TEST=./builtin/providers/aws"; \
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