Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorMartin Dengler <martin@martindengler.com>2009-07-05 12:55:55 (GMT)
committer Martin Dengler <martin@martindengler.com>2009-07-05 12:55:55 (GMT)
commit85d195ef17c9dc9773404088c9743a265fdb429e (patch)
treef5c1031d6de4ab8276b9b87aaa5c97e795627b06 /build
parentf18e05773e947c6254caf36a86a189ed5b208db4 (diff)
simple build script
Diffstat (limited to 'build')
-rwxr-xr-xbuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..2bc2823
--- /dev/null
+++ b/build
@@ -0,0 +1,10 @@
+#!/bin/bash
+pushd images
+date >> buildlog
+prevbuild=$(/bin/ls *.done | tail -1)
+nextbuild=$(python -c "print '%0.2d' % (int('$prevbuild'.split('.')[0][-2:]) + 1);")
+buildname=soasxo$nextbuild
+echo building $buildname
+time make -f ../Makefile $buildname >> buildlog 2>&1
+date >> buildlog
+popd