diff options
author | Case Duckworth | 2015-03-06 22:08:20 -0700 |
---|---|---|
committer | Case Duckworth | 2015-03-06 22:08:20 -0700 |
commit | e01ed83975933e4c8eafcda7950db98342ddfd63 (patch) | |
tree | 0739c8cea3fb07b5ee48870ed096b093e33e8c3b /compile.sh | |
parent | Change compile.sh to also compile RIVER files (diff) | |
download | autocento-e01ed83975933e4c8eafcda7950db98342ddfd63.tar.gz autocento-e01ed83975933e4c8eafcda7950db98342ddfd63.zip |
Switch to compile.lua for reasons
Diffstat (limited to 'compile.sh')
-rw-r--r-- | compile.sh | 4 |
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 | |||
22 | echo "Moving files to build directory ..." | 22 | echo "Moving files to build directory ..." |
23 | mv src/{.[!.]*,*}.html ./ | 23 | mv src/{.[!.]*,*}.html ./ |
24 | echo "Moving RIVERs to river/ ..." | 24 | echo "Moving RIVERs to river/ ..." |
25 | mv src/{.[!.]*,*}.river river/ | 25 | mv src/*.river river/ |
26 | rm src/*.river | ||
26 | echo "Concatenating and counting rivers ..." | 27 | echo "Concatenating and counting rivers ..." |
27 | cat river/*.river | \ | 28 | cat 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 |
30 | echo "Finished compiling $num files." | 30 | echo "Finished compiling $num files." |
31 | ############################################### | 31 | ############################################### |