a/codesys-ide/scripts/build-bootapp.py | b/codesys-ide/scripts/build-bootapp.py | ||
---|---|---|---|
... |
... |
||
15 | artifacts.append(crcfile) |
15 | artifacts.append(crcfile) |
16 | 16 | ||
17 | print("%s -> %s\n" % (filename, destination)) |
17 | print("%s -> %s\n" % (filename, destination)) |
18 | 18 | ||
19 | proj = projects.open(filename) |
19 | proj = projects.open(filename) |
20 | proj.create_boot_application(destination) |
20 | helper.update_device(proj, device_repository) |
21 | helper.install_missing_libraries(proj, librarymanager) |
||
22 | proj.active_application.create_boot_application(destination) |
||
21 | proj.close() |
23 | proj.close() |
22 | 24 | ||
23 | return artifacts |
25 | return artifacts |
24 | 26 | ||
25 | scriptpath = os.path.abspath(os.path.dirname(sys.argv[0])) |
27 | scriptpath = os.path.abspath(os.path.dirname(sys.argv[0])) |
26 | 28 | ||
27 | sb = SearchBuildDo() |
29 | sb = SearchBuildDo() |
28 | sb.search(".project", ".") |
30 | sb.search(".project", ".") |
29 | sb.save(".drone-artifacts") |
31 | sb.save(".", ".drone-artifacts") |
30 | 32 | ||
31 | 33 |