X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/e2f402c339544ecd2fca0b28d70ecd6bf8106bce..9b838575be93d8bd2c1d0842b4692dae6090e0b0:/packages/tiny/Makefile diff --git a/packages/tiny/Makefile b/packages/tiny/Makefile index 633223880..708ea1a6f 100644 --- a/packages/tiny/Makefile +++ b/packages/tiny/Makefile @@ -1,18 +1,13 @@ -EMACS ?= emacs -CASK_EXEC ?= cask exec - +emacs ?= emacs all: test -test: clean-elc - ${MAKE} unit - -unit: - ${CASK_EXEC} ${EMACS} -Q -batch -l tiny-test.el -l tiny.el --eval "(ert t)" +test: clean + cask exec emacs -Q -batch -l tiny-test.el -l tiny.el -f ert-run-tests-batch-and-exit compile: - ${CASK_EXEC} ${EMACS} -Q -batch -f batch-byte-compile tiny.el + $(emacs) -Q -batch -f batch-byte-compile tiny.el -clean-elc: +clean: rm -f f.elc .PHONY: all test