Flexible Lisp Blogware. Fork for personal use. Mirrored from https://github.com/kingcons/coleslaw originally.

example.post-receive 399B

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