[jhbuild: 11/27] allow forcing build phases to be run
- From: Frederic Peters <fpeters src gnome org>
- To: svn-commits-list gnome org
- Subject: [jhbuild: 11/27] allow forcing build phases to be run
- Date: Sat, 16 May 2009 09:37:42 -0400 (EDT)
commit 0926772464d73f243c95d7b92ae4d8c2b6964154
Author: Frederic Peters <fpeters 0d be>
Date: Tue May 5 19:41:15 2009 +0200
allow forcing build phases to be run
---
jhbuild/frontends/buildscript.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/jhbuild/frontends/buildscript.py b/jhbuild/frontends/buildscript.py
index fc072e7..fcc4412 100644
--- a/jhbuild/frontends/buildscript.py
+++ b/jhbuild/frontends/buildscript.py
@@ -68,7 +68,7 @@ class BuildScript:
'''
raise NotImplementedError
- def build(self):
+ def build(self, phases=None):
'''start the build of the current configuration'''
self.start_build()
@@ -99,7 +99,8 @@ class BuildScript:
self.end_module(module.name, failed)
continue
- phases = self.get_build_phases(module)
+ if not phases:
+ phases = self.get_build_phases(module)
phase = None
num_phase = 0
while num_phase < len(phases):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]