Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands/run
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-12-28 21:59:21 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-12-28 21:59:21 (GMT)
commitff8370dc4d0d57f24b7b68bbe582d2dbbf76eda6 (patch)
tree155106afff67b6cc1dd6a1c64f7eb6c5b1a4e9ab /commands/run
parentc3a37eaf4f75e9f6e072121cc237a57d8605a6e3 (diff)
Add a run_build function to main
This avoids duplication and circular deps
Diffstat (limited to 'commands/run')
-rwxr-xr-xcommands/run11
1 files changed, 2 insertions, 9 deletions
diff --git a/commands/run b/commands/run
index e3f311a..ef8e9af 100755
--- a/commands/run
+++ b/commands/run
@@ -5,18 +5,11 @@ import sys
import common
from devbot import run
-from devbot import build
-from devbot import system
+from devbot import main
common.setup(log_name="run")
-if not system.check(lazy=True):
- sys.exit(1)
-
-if not build.pull(lazy=True):
- sys.exit(1)
-
-if not build.build():
+if not main.run_build():
sys.exit(1)
run.run("sugar-runner")