Changeset 2077 for 2011/24/build_games.py
- Timestamp:
- 2011-06-16 23:39:04 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
2011/24/build_games.py
r2076 r2077 1 1 import sys 2 2 import os 3 from os.path import join, exists, abspath3 from os.path import * 4 4 from shutil import * 5 5 from glob import * … … 16 16 projects = glob(join(root, '*.csproj')) 17 17 if projects: 18 build_cmd = 'msbuild / p:Configuration=Release /p:"ReferencePath={0}" /t:Build "{1}"'.format(lib_dir_x86, projects[0])18 build_cmd = 'msbuild /nologo /verbosity:quiet /p:Configuration=Release /p:"ReferencePath={0}" /t:Build "{1}"'.format(lib_dir_x86, projects[0]) 19 19 return_code = call(build_cmd, shell=True) 20 if return_code != 0: 20 if return_code == 0: 21 print basename(projects[0]) 22 else: 21 23 projects_that_did_not_build.append(projects[0]) 22 24 23 25 print '' 24 print 'Projects that did not build :'26 print 'Projects that did not build ({0}):'.format(len(projects_that_did_not_build)) 25 27 for p in projects_that_did_not_build: 26 28 print p
Note: See TracChangeset
for help on using the changeset viewer.