branch: elpa/buttercup
commit 669ca9985a32510ac892b50d508f3141f66512f3
Author: Ola Nilsson <[email protected]>
Commit: Ola Nilsson <[email protected]>
test: Split make rule test into test-buttercup and test-docs
Makes it easier to run just the tests you are working on.
---
Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 5fd4070..58aac21 100644
--- a/Makefile
+++ b/Makefile
@@ -7,8 +7,12 @@ DISTFILES := $(ELISP_FILES) buttercup-pkg.el README.md
all: test
-test: compile
+test: test-buttercup test-docs
+
+test-buttercup: compile
./bin/buttercup -L . tests
+
+test-docs: compile
$(EMACS) -batch -L . -l buttercup.el -f buttercup-run-markdown
docs/writing-tests.md
compile: $(patsubst %.el,%.elc,$(ELISP_FILES))