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/build11
1 files changed, 2 insertions, 9 deletions
diff --git a/commands/build b/commands/build
index 9d8b51b..aa313b4 100755
--- a/commands/build
+++ b/commands/build
@@ -5,8 +5,7 @@ import sys
import common
-from devbot import build
-from devbot import system
+from devbot import main
parser = argparse.ArgumentParser()
parser.add_argument("module", nargs="?", help="name of the module to build")
@@ -19,11 +18,5 @@ if args.module:
if not build.build_one(args.module):
sys.exit(1)
else:
- if not system.check(lazy=True):
- sys.exit(1)
-
- if not build.pull(lazy=True):
- sys.exit(1)
-
- if not build.build(full=args.full):
+ if not main.run_build(full=args.full):
sys.exit(1)