Adding back the GNUmakefile test-compile step

This commit is contained in:
stack72 2017-06-30 11:19:24 +03:00
parent 86ea055130
commit 41c28b917b
1 changed files with 9 additions and 1 deletions

View File

@ -35,5 +35,13 @@ errcheck:
vendor-status:
@govendor status
.PHONY: build test testacc vet fmt fmtcheck errcheck vendor-status
test-compile:
@if [ "$(TEST)" = "./..." ]; then \
echo "ERROR: Set TEST to a specific package. For example,"; \
echo " make test-compile TEST=./aws"; \
exit 1; \
fi
go test -c $(TEST) $(TESTARGS)
.PHONY: build test testacc vet fmt fmtcheck errcheck vendor-status test-compile