home · contact · privacy
Add git commit hook.
[config] / systemfiles / post-update
1 #!/bin/sh
2 LIFELOGDIR=/home/plom/lifelog
3 GIT_WORK_TREE=$LIFELOGDIR git checkout -f
4 find $LIFELOGDIR -name "*.rst" -exec sh -c 'rst2html $0 > ${0%.rst}.html' {} \;