Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devbot/build.py
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-12-27 00:28:22 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-12-27 00:28:22 (GMT)
commit11b68e962fe97bbb846b736c6527a78f9d82c0d5 (patch)
treec2d7ec95b06e5e932ba163126f7d92767d42fe73 /devbot/build.py
parent96b68dfec3ca5ad94e48aa3609d727b66da39f81 (diff)
Don't print building if we are not
Diffstat (limited to 'devbot/build.py')
-rw-r--r--devbot/build.py19
1 files changed, 13 insertions, 6 deletions
diff --git a/devbot/build.py b/devbot/build.py
index a5a4906..9193b04 100644
--- a/devbot/build.py
+++ b/devbot/build.py
@@ -62,18 +62,25 @@ def build(full=False):
environ.setup()
- _ccache_reset()
-
state.full_build_touch()
pull(lazy=True)
- print "\n= Building =\n"
-
+ to_build = []
for module in config.load_modules():
if not state.built_module_is_unchanged(module):
- if not _build_module(module):
- return False
+ to_build.append(module)
+
+ if not to_build:
+ return True
+
+ print "\n= Building =\n"
+
+ _ccache_reset()
+
+ for module in to_build:
+ if not _build_module(module):
+ return False
_ccache_print_stats()