aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lamb <asdfasdf.gh@mm.st>2024-02-21 17:02:47 +1100
committerDavid Lamb <asdfasdf.gh@mm.st>2024-02-21 17:13:11 +1100
commitcc10b2a39c46bd22359d88dd5ec94702289d4fbc (patch)
tree6cd93c32794a84cbdec292ee42b0d3abc725266c
parent920eab6b917d41718261ea4fa490d1e87eeb0cc9 (diff)
downloadgo-git-cc10b2a39c46bd22359d88dd5ec94702289d4fbc.tar.gz
_examples: add example testing to `make test` as suggested by pjbgf
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1e10396..3d5b54f 100644
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,7 @@ build-git:
test:
@echo "running against `git version`"; \
$(GOTEST) -race ./...
+ $(GOTEST) -v _examples/common_test.go _examples/common.go --examples
TEMP_REPO := $(shell mktemp)
test-sha256: