annotate weave.sh @ 3:dc2ae5732141

removed print from weave
author Robert McIntyre <rlm@mit.edu>
date Sat, 15 Oct 2011 09:25:00 -0700
parents fd36f08d32c5
children 4824087ce1f2
rev   line source
rlm@1 1 #!/bin/sh
rlm@1 2
rlm@1 3 # assumes ./org directory with org files to publish to
rlm@1 4 # ./html
rlm@1 5
rlm@1 6 #target=$(readlink -f $1)
rlm@1 7
rlm@1 8 dir=`pwd`
rlm@1 9
rlm@1 10 emacs \
rlm@1 11 -l /home/r/config/emacs/clojure-init.el \
rlm@1 12 -l /home/r/config/emacs/org-init.el \
rlm@1 13 -l /home/r/config/emacs/web-color.el \
rlm@1 14 --batch \
rlm@1 15 --eval "
rlm@1 16 (progn
rlm@1 17 (setq org-publish-project-alist
rlm@1 18 '(
rlm@1 19 (\"project\"
rlm@1 20 :base-directory \"$dir/org\"
rlm@1 21 :base-extension \"org\"
rlm@1 22 :publishing-directory \"$dir/html\"
rlm@1 23 :recursive t
rlm@1 24 :publishing-function org-publish-org-to-html
rlm@1 25 :auto-preamble t)
rlm@1 26 ))
rlm@1 27
rlm@1 28 (org-publish-project \"project\"))" \
rlm@1 29 \
rlm@1 30 2>&1 | pcregrep 'Wrote'
rlm@1 31
rlm@1 32
rlm@1 33