Adding back the GNUmakefile test-compile step
This commit is contained in:
parent
86ea055130
commit
41c28b917b
10
GNUmakefile
10
GNUmakefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue