File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 20
20
cd rust-lightning
21
21
# git checkout origin/2021-03-java-bindings-base
22
22
# git checkout v0.0.100
23
- git checkout 557c7143fddde4a3879bb209a71f8f574c604caf
23
+ git checkout 8966f8d3d4911e034621c6d3c3d20140d3a7e76a
24
24
echo "rust-lightning commit hash:"
25
25
git rev-parse HEAD
26
26
cd ..
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ LDK_SUBDIRECTORY="$LDK_DIRECTORY/lightning-c-bindings"
10
10
11
11
if [[ " ${MOUNT_CI_FOLDER} " = " true" ]]; then
12
12
# use for direct ci folder access
13
- # note: batteries will be missing. In parent directory, run `cp -R bindings/batteries ci/LDKSwift/Sources/LDKSwift`
14
13
cp -R bindings/batteries ci/LDKSwift/Sources/LDKSwift
15
14
docker run --name " swift-generator-shell" -e MOUNTED_CI_FOLDER=true -i -v $PROJECT_DIRECTORY /ci:/ci -v $LDK_DIRECTORY :/ldk-c-bindings --rm -t swift-generation-ci /bin/bash
16
15
elif [ " ${MOUNT_CI_FOLDER} " = " false" ]; then
Original file line number Diff line number Diff line change 7
7
# remove everything except the batteries folder from the sources
8
8
find ./LDKSwift/Sources/LDKSwift/* -maxdepth 0 -not -name ' batteries' | xargs -r rm -r
9
9
10
- # rm -i -r ./LDKSwift/Sources/LDKSwift/^(batteries)*
10
+ # build the bindings
11
+ pushd /ldk-c-bindings/lightning-c-bindings
12
+ cargo build
13
+ popd
11
14
12
15
pushd ../
13
16
# working within /
You can’t perform that action at this time.
0 commit comments