summaryrefslogtreecommitdiffstats
path: root/Mac/scripts
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1997-09-09 13:57:15 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1997-09-09 13:57:15 (GMT)
commit675cda07871513eedd212460b06facff5dc3242c (patch)
treed90f47ac488d7fa6ff231aa037150e8a332aa8cc /Mac/scripts
parent37b4b4996254fc7eeccfa61c941b46b61083265d (diff)
downloadcpython-675cda07871513eedd212460b06facff5dc3242c.zip
cpython-675cda07871513eedd212460b06facff5dc3242c.tar.gz
cpython-675cda07871513eedd212460b06facff5dc3242c.tar.bz2
Added a button to increment buildno, so it doesn't happen
automatically all the time.
Diffstat (limited to 'Mac/scripts')
-rw-r--r--Mac/scripts/fullbuild.py12
-rw-r--r--Mac/scripts/fullbuild.rsrc.hqx13
2 files changed, 14 insertions, 11 deletions
diff --git a/Mac/scripts/fullbuild.py b/Mac/scripts/fullbuild.py
index ff090d0..2b3585d 100644
--- a/Mac/scripts/fullbuild.py
+++ b/Mac/scripts/fullbuild.py
@@ -39,6 +39,7 @@ DIALOG_ID = 512
I_OK=1
I_CANCEL=2
+I_INC_BUILDNO=19
I_CORE=3
I_PPC_PLUGINS=4
@@ -110,7 +111,7 @@ def buildfat(top, dummy, list):
print 'Building fat binary', dst
cfmfile.mergecfmfiles((src1, src2), dst)
-def handle_dialog():
+def handle_dialog(filename):
"""Handle selection dialog, return list of selected items"""
d = Dlg.GetNewDialog(DIALOG_ID, -1)
d.SetDialogDefaultItem(I_OK)
@@ -122,6 +123,9 @@ def handle_dialog():
break
if n == I_CANCEL:
return []
+ if n == I_INC_BUILDNO:
+ incbuildno(filename)
+ continue
if n < len(results):
results[n] = (not results[n])
tp, h, rect = d.GetDialogItem(n)
@@ -211,10 +215,8 @@ def main():
sys.exit(0)
dir = dir.as_pathname()
- todo = handle_dialog()
-
- incbuildno(os.path.join(dir, MACBUILDNO))
-
+ todo = handle_dialog(os.path.join(dir, MACBUILDNO))
+
instructions = []
for i in todo:
instructions.append(BUILD_DICT[i])
diff --git a/Mac/scripts/fullbuild.rsrc.hqx b/Mac/scripts/fullbuild.rsrc.hqx
index 8e8171a..276a550 100644
--- a/Mac/scripts/fullbuild.rsrc.hqx
+++ b/Mac/scripts/fullbuild.rsrc.hqx
@@ -1,16 +1,17 @@
(This file must be converted with BinHex 4.0)
-:$QCeE'aLG@PXC#jbFh*M!(*cFQ058d9%!3#3"`,MLjS!N!3"!!!!!Td!!!'G!!!
+:$QCeE'aLG@PXC#jbFh*M!(*cFQ058d9%!3#3"`-$4B8!N!3"!!!!!Vd!!!'p!!!
!4J!!4dJ-8f0bC@9Z)%9KFf@U)!)!!!"45f9i8f0&B5%!$QCeE'aLG@PXC#jbFh*
-MD3)!!!"bFh*M8P0&4!%!!3!!!(*cFQ058d9%!3!"!!%"!*!2!6`"X"Z903#3"J-
-0!*!+$J!!!%G)#&0[CR4,CAPcCJ)!!J"45f9i8AK6Db%!!$3!3!#3"%H)!*!1H6B
+MD3)!!!"bFh*M8P0&4!%!!B!!!(*cFQ058d9%!3!"J!%"!*!2!6`"X"Z903#3"J,
+M!*!+$J!!!%G)#&0[CR4,CAPcCJ)!!J"45f9i8AK6Db%!!$3!3!#3"%H)!*!1H6B
!!(i!U%&`!+PfTGS!N#+1N3!(!*!-&!#3""8!+!!S!2X"p`!"!3!"!*!&!J#3"!'
-!!"%!N!@d!BB!b!(!"!*25`#3"E3!#J$)!%3%"N0KEQ0PE!#3"6)!C`"%!0%&"%0
+J!")!N!@d!BB!b!(!"!*25`#3"E3!#J$)!%3%"N0KEQ0PE!#3"6)!C`"%!0%&"%0
[FQ8!N!8N!0m!0J&*"3G3E(9RD@jcd3#3"53"9`!f!F%&#N9iG'9ZFfP[ER-!N!8
m!0m!6J&*"3G3E(9RD@jcd3#3"6`"9`"1!F%&#N9iG'9ZFfP[ER-!N!9F!'F!EJ$
4"34'G@aX!*!&A!$I!'i"538&8feKE'aX!*!&G!"R!)B!d38%4R9XE!#3"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