1
0
Fork 0
kagi.el/justfile

16 lines
478 B
Makefile

set positional-arguments
# Run all unit tests
default: test
# For convenience, run cask through bash
cask *args:
cask $@
# Compile the Emacs Lisp file(s)
compile:
cask emacs -batch -L . -L test --eval "(setq byte-compile-error-on-warn t)" -f batch-byte-compile $(cask files); (ret=$? ; cask clean-elc && exit $ret)
# Run unit tests matching a pattern (matches all tests by default)
test pattern=".": compile
cask exec buttercup -L . --pattern {{pattern}} --no-skip