- Timestamp:
- 2011-06-29 15:36:16 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
2011/26/build_games.py
r2298 r2324 1 from __future__ import with_statement 1 2 import sys 2 3 import os … … 81 82 82 83 def build(project_file_path): 83 build_cmd = 'msbuild /nologo /verbosity:quiet /p:XnaProfile=Reach /p:Configuration=Release /p:"ReferencePath= {0}" /t:Build "{1}"'.format(lib_dir_x86, project_file_path)84 build_cmd = 'msbuild /nologo /verbosity:quiet /p:XnaProfile=Reach /p:Configuration=Release /p:"ReferencePath=%s" /t:Build "%s"' % (lib_dir_x86, project_file_path) 84 85 return call(build_cmd, shell=True) == 0 85 86 … … 128 129 except KeyboardInterrupt: 129 130 print "BUILD CANCELLED" 130 except Exception ase:131 except Exception, e: 131 132 print 132 133 print "NOT SUCCESSFUL:", e … … 134 135 135 136 print 136 print 'Projects that did not build ( {0}):'.format(len(projects_that_did_not_build))137 print 'Projects that did not build (%d):' % len(projects_that_did_not_build) 137 138 for p in projects_that_did_not_build: 138 139 print p
Note: See TracChangeset
for help on using the changeset viewer.