diff options
Diffstat (limited to 'commands/helpers')
-rwxr-xr-x | commands/helpers/build | 14 |
1 files changed, 11 insertions, 3 deletions
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() |