mirror of
https://codeberg.org/scip/autoscratch.git
synced 2025-12-16 12:00:57 +01:00
20 lines
440 B
Bash
Executable File
20 lines
440 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
if [ -n "$TRAVIS" ]; then
|
|
cd "$(dirname "$0")"
|
|
|
|
ECUKES_EMACS=${EMACS:-$(which emacs)}
|
|
export ECUKES_EMACS
|
|
|
|
echo "*** Emacs version ***"
|
|
echo "ECUKES_EMACS = $ECUKES_EMACS"
|
|
"$ECUKES_EMACS" --version
|
|
echo
|
|
fi
|
|
|
|
cask emacs --batch -Q -l package-lint.el -f package-lint-batch-and-exit autoscratch-mode.el
|
|
|
|
cask emacs --batch -Q -L . -L test -l autoscratch-mode-tests.el -f ert-run-tests-batch-and-exit
|
|
|
|
|