From 1a61613afa00ebbf59fe6d12c3c7d7ea6cb6ccec Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sun, 1 Mar 2015 18:10:13 -0700 Subject: Add count to compile.sh --- compile.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compile.sh b/compile.sh index 228af38..85e7bca 100644 --- a/compile.sh +++ b/compile.sh @@ -1,5 +1,6 @@ # for windows only right now +num=0 for file in src/*.txt; do # TODO: change this to work with globs & args & stuff echo -n "Compiling $file ..." pandoc -f markdown \ @@ -9,7 +10,10 @@ for file in src/*.txt; do # TODO: change this to work with globs & args & stuff $file \ -o "${file%.txt}.html" echo " Done." + ((num += 1)) done echo "Moving files to build directory ..." mv src/*.html ./ +echo +echo "Finished compiling $num files." -- cgit 1.4.1-21-gabe81