Adding back the GNUmakefile test-compile step

This commit is contained in:
stack72 2017-06-30 11:16:10 +03:00
parent 9691fe13ea
commit 9ce542e1fb

View File

@ -35,5 +35,13 @@ errcheck:
vendor-status: vendor-status:
@govendor 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