Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
better build script
  • Loading branch information
erh committed Mar 24, 2010
1 parent c5f43ab commit 3db95c7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions build.tcsh
@@ -1,12 +1,12 @@
#!/bin/tcsh

foreach x ( ops mem )
foreach out ( `ls src/body_*.py` )
echo $out
set x = `echo $out | grep -o "src.body_(.*).py"`
echo $x
end

foreach x ( ops mem btree )
set out = mongo_$x
echo "#!"`which python` > $out
echo "" >> $out
echo "## GENERATED FILE - DO NOT EDIT" >> $out
cat src/header.py >> $out
cat src/body_$x.py >> $out
cat src/footer.py >> $out
chmod 755 $out

end

0 comments on commit 3db95c7

Please sign in to comment.