Skip to content

Commit 96119ca

Browse files
committed
Add "test" target to Makfile
1 parent beb200c commit 96119ca

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ $(AUTOLOADS): $(ELCS)
1717
(normal-top-level-add-subdirs-to-load-path) \
1818
(package-generate-autoloads \"phpactor\" default-directory))"
1919

20+
test: clean $(ELCS)
21+
$(EMACS) -Q -batch -L . --eval \
22+
"(let ((default-directory (expand-file-name \".cask\" default-directory))) \
23+
(normal-top-level-add-subdirs-to-load-path) \
24+
(require 'buttercup))" \
25+
-f buttercup-run-discover
26+
2027
clean:
2128
rm -f $(ELCS) $(AUTOLOADS)
2229

0 commit comments

Comments
 (0)