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

example.post-receive 413B

123456789101112
  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
  7. # Other lisps will take some patching but (quit) is universal
  8. $LISP --eval "(ql:quickload 'coleslaw)" --eval "(coleslaw:main)" --eval "(quit)"
  9. rm -Rf $TMP_GIT_CLONE
  10. exit