coleslaw/example.post-receive
2012-09-13 01:10:43 -04:00

10 lines
399 B
Text

GIT_REPO=$HOME/improvedmeans.git
# TMP_GIT_CLONE _must_ match the :repo arg in coleslawrc excluding trailing slash
TMP_GIT_CLONE=$HOME/tmp/improvedmeans
LISP=sbcl
git clone $GIT_REPO $TMP_GIT_CLONE
# Only ccl and sbcl support the eval switch, other lisps require a patch here
$LISP --eval "(ql:quickload 'coleslaw)" --eval "(coleslaw:main)" --eval "(trivial-shell:exit)"
rm -Rf $TMP_GIT_CLONE
exit