Skip to content

Commit 4dd50d6

Browse files
committed
Adding back the GNUmakefile test-compile step
1 parent eb7e064 commit 4dd50d6

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

GNUmakefile

+9-1
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,13 @@ errcheck:
3535
vendor-status:
3636
@govendor status
3737

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
3947

0 commit comments

Comments
 (0)