(env, target, script)
| 307 | out.close() |
| 308 | |
| 309 | def MDK4Project(env, target, script): |
| 310 | |
| 311 | if os.path.isfile('template.uvproj') is False: |
| 312 | print ('Warning: The template project file [template.uvproj] not found!') |
| 313 | return |
| 314 | |
| 315 | template_tree = etree.parse('template.uvproj') |
| 316 | |
| 317 | MDK45Project(env, template_tree, target, script) |
| 318 | |
| 319 | # remove project.uvopt file |
| 320 | project_uvopt = os.path.abspath(target).replace('uvproj', 'uvopt') |
| 321 | if os.path.isfile(project_uvopt): |
| 322 | os.unlink(project_uvopt) |
| 323 | |
| 324 | # copy uvopt file |
| 325 | if os.path.exists('template.uvopt'): |
| 326 | import shutil |
| 327 | shutil.copy2('template.uvopt', '{}.uvopt'.format(os.path.splitext(target)[0])) |
| 328 | import threading |
| 329 | import time |
| 330 | def monitor_log_file(log_file_path): |
no test coverage detected