Ignore:
Timestamp:
2011-06-16 22:23:15 (8 years ago)
Author:
tekrjant
Message:

Projects in directories with spaces in them are built properly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2011/23/build_games.py

    r1914 r2075  
    2222                        dirs.remove('Windows Phone') 
    2323 
    24                 solutions = glob(join(root, '*.sln')) 
    25                 if solutions: 
    26                         return_code = call('msbuild /p:Configuration=Release /t:Build ' + solutions[0], shell=True) 
     24                projects = glob(join(root, '*.csproj')) 
     25                if projects: 
     26                        return_code = call('msbuild /p:Configuration=Release /t:Build \"' + projects[0] + '\"', shell=True) 
    2727                        if return_code != 0: 
    28                                 projects_that_did_not_build.append(solutions[0]) 
     28                                projects_that_did_not_build.append(projects[0]) 
    2929 
    3030        print '' 
Note: See TracChangeset for help on using the changeset viewer.