diff --git a/compile b/compile index 20a8daef3e430b23ec4ec97259f6abefa11ade4d..0bfe49cdfb116a1e229ddff20c5a6d21ec05786a 100755 --- a/compile +++ b/compile @@ -6,8 +6,6 @@ cp src/config/start.tw.proto start.tw.tmp find src -name '*.tw' -print >>start.tw.tmp mv start.tw.tmp src/config/start.tw -HASH=`git log -n1 |grep -m1 commit | sed 's/commit //'` - -./devTools/tweeGo/tweego -o bin/FC_pregmod_$HASH.html src/config/start.tw +./devTools/tweeGo/tweego -o bin/FC.html src/config/start.tw rm src/config/start.tw \ No newline at end of file diff --git a/compile-git b/compile-git new file mode 100755 index 0000000000000000000000000000000000000000..20a8daef3e430b23ec4ec97259f6abefa11ade4d --- /dev/null +++ b/compile-git @@ -0,0 +1,13 @@ +#!/bin/bash + +# Will add all *.tw files to StoryIncludes. +rm src/config/start.tw +cp src/config/start.tw.proto start.tw.tmp +find src -name '*.tw' -print >>start.tw.tmp +mv start.tw.tmp src/config/start.tw + +HASH=`git log -n1 |grep -m1 commit | sed 's/commit //'` + +./devTools/tweeGo/tweego -o bin/FC_pregmod_$HASH.html src/config/start.tw + +rm src/config/start.tw \ No newline at end of file