|
a/codesys-ide/scripts/compile-library.py |
|
b/codesys-ide/scripts/compile-library.py |
1 |
import sys, os |
1 |
import sys, os |
2 |
import helper |
2 |
import helper |
3 |
|
3 |
|
4 |
|
4 |
print("compile...") |
5 |
class SearchBuildDo(helper.SearchBuild): |
5 |
class SearchBuildDo(helper.SearchBuild): |
6 |
# Build rules for: |
6 |
# Build rules for: |
7 |
# - *.library -> *.compiled-library |
7 |
# - *.library -> *.compiled-library |
8 |
def doit(self, filename): |
8 |
def doit(self, filename): |
9 |
artifacts = list() |
9 |
artifacts = list() |
|
... |
|
... |
22 |
|
22 |
|
23 |
scriptpath = os.path.abspath(os.path.dirname(sys.argv[0])) |
23 |
scriptpath = os.path.abspath(os.path.dirname(sys.argv[0])) |
24 |
|
24 |
|
25 |
sb = SearchBuildDo() |
25 |
sb = SearchBuildDo() |
26 |
sb.search(".library", ".") |
26 |
sb.search(".library", ".") |
27 |
sb.save(".", ".drone-artifacts") |
27 |
#sb.save(".", ".drone-artifacts") |