Compare commits
3 commits
0570505cff
...
7d061a8ef8
Author | SHA1 | Date | |
---|---|---|---|
Bram Schoenmakers | 7d061a8ef8 | ||
Bram Schoenmakers | afac09ab32 | ||
Bram Schoenmakers | 3080cea644 |
8
justfile
8
justfile
|
@ -1,14 +1,16 @@
|
|||
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 all unit tests
|
||||
test pattern=".": compile
|
||||
cask exec buttercup -L . --pattern {{pattern}} --no-skip
|
||||
|
||||
buttercup:
|
||||
emacs -batch -f package-initialize -L . -f buttercup-run-discover
|
||||
|
|
Loading…
Reference in a new issue