Commit 470aaf87 authored by Erik Hetzner's avatar Erik Hetzner

Test compilation

parent 2e4ca0a8
#/bin/sh -e
#/bin/sh -ex
# ensure no compile errors
rm ./*.elc
cask exec emacs -Q --batch -L . --eval '(setq byte-compile-error-on-warn t)' \
-f batch-byte-compile zotxt.el
cask exec emacs -Q --batch -L . --eval '(setq byte-compile-error-on-warn t)' \
-f batch-byte-compile org-zotxt.el
bundle install --quiet
cask
ruby mock-server.rb -p 33119 &
......@@ -6,8 +13,8 @@ MOCK_PID=$!
sleep 2
cask exec ert-runner
cask exec ecukes
kill $MOCK_PID
while (kill -0 $MOCK_PID > /dev/null 2> /dev/null) ; do
kill "$MOCK_PID"
while (kill -0 "$MOCK_PID" > /dev/null 2> /dev/null) ; do
sleep 1
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment