From f67616f4a1b6d6f06c47f288538d8fb1d72c1801 Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Mon, 26 Nov 2012 20:47:28 +0000 Subject: Cleanup and extend build commands --- (limited to 'commands/helpers/build') diff --git a/commands/helpers/build b/commands/helpers/build index 1904955..a8405c8 100755 --- a/commands/helpers/build +++ b/commands/helpers/build @@ -1,10 +1,18 @@ #!/usr/bin/python -u +import argparse + import common from devbot import build -from devbot import system + +parser = argparse.ArgumentParser() +parser.add_argument("module", nargs="?", help="name of the module to build") +args = parser.parse_args() common.setup() -system.check() -build.build() + +if args.module: + build.build_one(args.module) +else: + build.build() -- cgit v0.9.1