Files
autoscratch/run-tests.sh
Thomas von Dein 9e874e50a4 chmod+x
2017-07-18 19:48:54 +02:00

17 lines
380 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 exec ert-runner -L . -L test "$@"