Skip to content

Commit

Permalink
Adding back the GNUmakefile test-compile step
Browse files Browse the repository at this point in the history
  • Loading branch information
stack72 committed Jun 30, 2017
1 parent f39f6db commit 7f05461
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7f05461

Please sign in to comment.