File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 40
40
cd ldk-c-bindings
41
41
./genbindings.sh ../rust-lightning true
42
42
cd ..
43
+ - name : Debug bindings target directory structure
44
+ run : |
45
+ python ci/walker.py ldk-c-bindings/lightning-c-bindings/target
43
46
- name : Copy new headers into bindings
44
47
run : |
45
48
mkdir -p ci/LDKSwift/Sources/LDKHeaders/include
58
61
- name : Fix Swift files
59
62
run : |
60
63
python ci/fix_swift_imports.py
64
+ - name : Debug CI directory structure
65
+ run : |
66
+ python ci/walker.py ci/
61
67
- name : Build Swift bindings package
62
68
run : |
63
69
cd ci/LDKSwift
Original file line number Diff line number Diff line change
1
+ import os
2
+ import sys
3
+
4
+ walk_directory = sys .argv [1 ] if len (sys .argv ) > 1 else os .path .dirname (os .path .realpath (__file__ ))
5
+
6
+ # Create a collection of local header (or C) files
7
+ for current_directory , current_subdirectories , current_files in os .walk (walk_directory ):
8
+ for current_file in current_files :
9
+ print (os .path .join (current_directory , current_file ))
You can’t perform that action at this time.
0 commit comments