Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands/helpers
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-11-26 20:47:28 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-11-26 20:47:28 (GMT)
commitf67616f4a1b6d6f06c47f288538d8fb1d72c1801 (patch)
tree9d74b41d844e49484f20985271b4ccf2111132f6 /commands/helpers
parent4c215580bfe2198f2d071098b040964be2501460 (diff)
Cleanup and extend build commands
Diffstat (limited to 'commands/helpers')
-rwxr-xr-xcommands/helpers/build14
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()