summaryrefslogtreecommitdiffstats
path: root/Mac/Lib
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-11-19 21:51:06 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-11-19 21:51:06 (GMT)
commit6f484cb25a2779b685f1a5e584fb1296139b4f5e (patch)
treef68c8aeaa2c0cff6789578a04ea127494d46cfb3 /Mac/Lib
parent620ec9d1ca1081177066e962fca18c6cf20b8aea (diff)
downloadcpython-6f484cb25a2779b685f1a5e584fb1296139b4f5e.zip
cpython-6f484cb25a2779b685f1a5e584fb1296139b4f5e.tar.gz
cpython-6f484cb25a2779b685f1a5e584fb1296139b4f5e.tar.bz2
Close the project after building it, so that building umpteen projects doesn't keep all the projects open.
Diffstat (limited to 'Mac/Lib')
-rw-r--r--Mac/Lib/mkcwproject/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mac/Lib/mkcwproject/__init__.py b/Mac/Lib/mkcwproject/__init__.py
index 6551b22..a9e0562 100644
--- a/Mac/Lib/mkcwproject/__init__.py
+++ b/Mac/Lib/mkcwproject/__init__.py
@@ -56,6 +56,7 @@ def buildproject(projectfile):
prjfss = macfs.FSSpec(projectfile)
cw.open(prjfss)
cw.Make_Project() # XXX Should set target
+ cw.Close_Project()
def cleanproject(projectfile):
cw = cwtalker.MyCodeWarrior(start=1)