1
0
Fork 0

Allow optional pattern for which tests to run

This commit is contained in:
Bram Schoenmakers 2024-02-22 22:15:46 +01:00
parent c8a7658bd3
commit b3191b750d
Signed by: bram
GPG key ID: 0CCD19DFDC63258F

View file

@ -7,8 +7,8 @@ cask *args:
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
cask exec buttercup -L .
test pattern=".": compile
cask exec buttercup -L . --pattern {{pattern}} --no-skip
buttercup:
emacs -batch -f package-initialize -L . -f buttercup-run-discover