summaryrefslogtreecommitdiffstats
path: root/Mac/scripts/fullbuild.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-07-24 19:45:07 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-07-24 19:45:07 (GMT)
commitbc66f950e8366915308b1921a3b6fc66629b30b1 (patch)
treea90ce12a0f72d270db7a50db74cc04e2cd138f6a /Mac/scripts/fullbuild.py
parent919d3267ffe362a1d2abb5da88ac0e2eeac9dfad (diff)
downloadcpython-bc66f950e8366915308b1921a3b6fc66629b30b1.zip
cpython-bc66f950e8366915308b1921a3b6fc66629b30b1.tar.gz
cpython-bc66f950e8366915308b1921a3b6fc66629b30b1.tar.bz2
If any of the builds in a group fails offer to stop the fullbuild process and open the failing projects in codewarrior.
Diffstat (limited to 'Mac/scripts/fullbuild.py')
-rw-r--r--Mac/scripts/fullbuild.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/Mac/scripts/fullbuild.py b/Mac/scripts/fullbuild.py
index f334e4d..2dadfa9 100644
--- a/Mac/scripts/fullbuild.py
+++ b/Mac/scripts/fullbuild.py
@@ -64,6 +64,7 @@ def buildmwproject(top, creator, projects):
mgr = MwShell(creator, start=1)
mgr.send_timeout = AppleEvents.kNoTimeOut
+ failed = []
for file in projects:
if type(file) == type(()):
file, target = file
@@ -90,7 +91,15 @@ def buildmwproject(top, creator, projects):
mgr.Make_Project()
except aetools.Error, arg:
print '**', file, target, 'Failed:', arg
+ failed.append(fss)
mgr.Close_Project()
+ if failed:
+ print 'Open failed projects and exit?',
+ rv = sys.stdin.readline()
+ if rv[0] in ('y', 'Y'):
+ for fss in failed:
+ mgr.open(fss)
+ sys.exit(0)
## mgr.quit()
def buildapplet(top, dummy, list):