Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands/build
diff options
context:
space:
mode:
Diffstat (limited to 'commands/build')
-rwxr-xr-xcommands/build14
1 files changed, 9 insertions, 5 deletions
diff --git a/commands/build b/commands/build
index 99f3048..b90f0fa 100755
--- a/commands/build
+++ b/commands/build
@@ -1,8 +1,12 @@
-#!/usr/bin/python -u
+#!/bin/bash
-import common
+commandsdir=`dirname "$0"`
+rootdir=`dirname "$commandsdir"`
+helpersdir=$commandsdir/helpers
-from devbot import build
+timestamp=`date +%Y%m%d-%H%M%S`
+logfile=$rootdir/logs/build-$timestamp.log
-common.setup()
-build.build()
+PYTHONPATH=$commandsdir $helpersdir/build | tee -a $logfile
+
+exit ${PIPESTATUS[0]}