about summary refs log tree commit diff stats
path: root/compile.sh
diff options
context:
space:
mode:
authorCase Duckworth2015-03-06 22:08:20 -0700
committerCase Duckworth2015-03-06 22:08:20 -0700
commite01ed83975933e4c8eafcda7950db98342ddfd63 (patch)
tree0739c8cea3fb07b5ee48870ed096b093e33e8c3b /compile.sh
parentChange compile.sh to also compile RIVER files (diff)
downloadautocento-e01ed83975933e4c8eafcda7950db98342ddfd63.tar.gz
autocento-e01ed83975933e4c8eafcda7950db98342ddfd63.zip
Switch to compile.lua for reasons
Diffstat (limited to 'compile.sh')
-rw-r--r--compile.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/compile.sh b/compile.sh index e6b3141..51a94f7 100644 --- a/compile.sh +++ b/compile.sh
@@ -22,10 +22,10 @@ echo
22echo "Moving files to build directory ..." 22echo "Moving files to build directory ..."
23mv src/{.[!.]*,*}.html ./ 23mv src/{.[!.]*,*}.html ./
24echo "Moving RIVERs to river/ ..." 24echo "Moving RIVERs to river/ ..."
25mv src/{.[!.]*,*}.river river/ 25mv src/*.river river/
26rm src/*.river
26echo "Concatenating and counting rivers ..." 27echo "Concatenating and counting rivers ..."
27cat river/*.river | \ 28cat river/*.river | \
28 sed -e "s/^\s\+//" -e "s/\s\+$//" -e 's/--\+/\n/g' | \
29 sort | uniq -c | sort >river/COUNTS.txt 29 sort | uniq -c | sort >river/COUNTS.txt
30echo "Finished compiling $num files." 30echo "Finished compiling $num files."
31############################################### 31###############################################