- Timestamp:
- 2011-08-08 13:16:48 (12 years ago)
- Location:
- 2011/31
- Files:
-
- 1 added
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
2011/31/build_games.py
r2621 r2622 1 # -*- coding: latin-1 -*- 2 """ 3 Builds all the .csproj-projects in all subdirectories, copies 4 compiled games to directory games and optionally writes the 5 results of the build. 6 """ 7 1 8 from __future__ import with_statement 2 9 import sys -
2011/31/write_report.py
r2620 r2622 3 3 Writes a html report of the build results. build_games.py 4 4 should be run first. 5 6 The report is written continuously. Hit Ctrl-c to stop.7 5 """ 8 6 from __future__ import with_statement … … 128 126 129 127 128 def parse_arguments(): 129 for arg in sys.argv[1:]: 130 if arg == "--hide-pong": 131 global hide_pong_games 132 hide_pong_games = True 133 else: 134 raise Exception("Unknown argument: " + arg) 135 136 130 137 def main(): 131 if "--hide-pong" in sys.argv:132 global hide_pong_games133 hide_pong_games = True134 135 138 try: 136 while True: 137 check_requirements() 138 initialize_report() 139 write_results() 140 write_report() 141 print "report written" 142 time.sleep(15) 139 parse_arguments() 140 check_requirements() 141 initialize_report() 142 write_results() 143 write_report() 144 print "report written" 143 145 except KeyboardInterrupt: 144 146 print "cancelled"
Note: See TracChangeset
for help on using the changeset viewer.