diff options
-rw-r--r-- | GNUmakefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile index a28d744..c9eacb4 100644 --- a/GNUmakefile +++ b/GNUmakefile | |||
@@ -35,5 +35,13 @@ errcheck: | |||
35 | vendor-status: | 35 | vendor-status: |
36 | @govendor status | 36 | @govendor status |
37 | 37 | ||
38 | .PHONY: build test testacc vet fmt fmtcheck errcheck vendor-status | 38 | test-compile: |
39 | @if [ "$(TEST)" = "./..." ]; then \ | ||
40 | echo "ERROR: Set TEST to a specific package. For example,"; \ | ||
41 | echo " make test-compile TEST=./aws"; \ | ||
42 | exit 1; \ | ||
43 | fi | ||
44 | go test -c $(TEST) $(TESTARGS) | ||
45 | |||
46 | .PHONY: build test testacc vet fmt fmtcheck errcheck vendor-status test-compile | ||
39 | 47 | ||