diff options
Diffstat (limited to 'commands/build')
-rwxr-xr-x | commands/build | 11 |
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) |