From 96ab7a3ce522f38a768e67c73021bf1071832a37 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 9 Feb 2015 12:04:05 -0700 Subject: Add Paul; move source files to src/ --- compile.sh | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'compile.sh') diff --git a/compile.sh b/compile.sh index 3877be0..228af38 100644 --- a/compile.sh +++ b/compile.sh @@ -1,10 +1,15 @@ # for windows only right now -for file in *.txt; do # TODO: change this to work with globs & args & stuff - pandoc -f markdown \ # all files are in pandoc's markdown - -t html5 \ # they're being outputted to html5 - --template=_template.html \ # use this file as a template - --smart \ # smart quotes, etc. +for file in src/*.txt; do # TODO: change this to work with globs & args & stuff + echo -n "Compiling $file ..." + pandoc -f markdown \ + -t html5 \ + --template=_template.html \ + --smart \ $file \ -o "${file%.txt}.html" + echo " Done." done + +echo "Moving files to build directory ..." +mv src/*.html ./ -- cgit 1.4.1-21-gabe81