diff options
author | stack72 <public@paulstack.co.uk> | 2017-06-30 11:19:13 +0300 |
---|---|---|
committer | stack72 <public@paulstack.co.uk> | 2017-06-30 11:19:13 +0300 |
commit | ef7ddbffe05afb9d882c8e52bed328c382659a11 (patch) | |
tree | 442d4275b7eaaa1cb2a4af91370f40b01b298c45 | |
parent | 4bdb97c29c00d68e0e72c9a911063385ed876c02 (diff) | |
download | terraform-provider-statuscake-ef7ddbffe05afb9d882c8e52bed328c382659a11.tar.gz terraform-provider-statuscake-ef7ddbffe05afb9d882c8e52bed328c382659a11.tar.zst terraform-provider-statuscake-ef7ddbffe05afb9d882c8e52bed328c382659a11.zip |
Adding back the GNUmakefile test-compile step
-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 | ||