- Timestamp:
- 2011-06-10 12:26:47 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
2011/23/build_games.py
r1883 r1897 14 14 rmtree(games_dir) 15 15 os.mkdir(games_dir) 16 17 projects_that_did_not_build = [] 16 18 17 19 for root, dirs, files in os.walk('.'): … … 24 26 if 'Windows Phone' in dirs: 25 27 dirs.remove('Windows Phone') 26 #if 'Release' in dirs:27 #copytree(join(root, 'Release'), games_dir)28 if 'Release' in dirs: 29 copytree(join(root, 'Release'), games_dir) 28 30 29 31 projects = glob(join(root, '*.csproj')) 30 32 if projects: 31 print 'projects: ' + str(projects)32 33 # return_code = call('msbuild ' + projects[0], shell=True, stdout=PIPE) 33 return_code = call('msbuild ' + projects[0] )34 return_code = call('msbuild ' + projects[0], shell=True) 34 35 if return_code != 0: 35 print 'DOES NOT BUILD: ' + projects[0] 36 projects_that_did_not_build.append(projects[0]) 37 38 print '' 39 print 'Projects that did not build:' 40 for p in projects_that_did_not_build: 41 print p 36 42 37 43
Note: See TracChangeset
for help on using the changeset viewer.