diff options
Diffstat (limited to '.config/emacs/lisp/magit/test/Makefile')
| -rw-r--r-- | .config/emacs/lisp/magit/test/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.config/emacs/lisp/magit/test/Makefile b/.config/emacs/lisp/magit/test/Makefile new file mode 100644 index 0000000..1850c76 --- /dev/null +++ b/.config/emacs/lisp/magit/test/Makefile @@ -0,0 +1,21 @@ +-include ../config.mk +include ../default.mk + +LOAD_PATH += -L ../lisp + +test: lisp + @printf " Testing...\n" + @$(EMACS_BATCH) -l $(PKG)-tests -f ert-run-tests-batch-and-exit + +test-interactive: + @$(EMACS_INTR) -l $(PKG)-tests --eval "(ert t)" + +lisp: $(addprefix ../lisp/,$(ELCS)) $(PKG)-tests.elc + +%.elc: %.el + @printf "Compiling $<\n" + @$(EMACS_BATCH) --funcall batch-byte-compile $< + +clean: + @printf " Cleaning test/*...\n" + @rm -rf $(PKG)-tests.elc |
