Changeset 2326 for 2011/26


Ignore:
Timestamp:
2011-06-29 16:03:58 (12 years ago)
Author:
tekrjant
Message:

jotain

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2011/26/build_games.py

    r2325 r2326  
    1616projects_that_did_not_build = [] 
    1717report = Document() 
    18 table = "" 
     18table = None 
     19msbuild = "msbuild" 
     20 
    1921 
    2022def check_requirements(): 
    2123        if not exists("lib\\x86\\Jypeli4.dll"): 
    2224                raise Exception("lib\\x86\\Jypeli4.dll expected") 
     25        return_code = call(msbuild + "/?", shell=True) 
     26        if return_code != 0: 
     27                # etsitaan 
     28                foo = join(os.getenv("SystemRoot"), "Microsoft.NET\\Framework") 
     29                print "NO MSBUILD!" 
    2330 
    2431 
     
    122129def main(): 
    123130        try: 
     131                check_requirements() 
    124132                initialize_report() 
    125                 check_requirements() 
    126133                create_output_directory() 
    127134                build_games() 
Note: See TracChangeset for help on using the changeset viewer.