2024-02-11 11:12:27 +00:00
|
|
|
set positional-arguments
|
|
|
|
|
|
|
|
# for convenience, run cask through bash
|
|
|
|
cask *args:
|
|
|
|
cask $@
|
|
|
|
|
2024-02-11 19:50:42 +00:00
|
|
|
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)
|
|
|
|
|
|
|
|
test: compile
|
2024-02-11 11:12:27 +00:00
|
|
|
cask exec buttercup -L .
|
|
|
|
|
|
|
|
buttercup:
|
|
|
|
emacs -batch -f package-initialize -L . -f buttercup-run-discover
|