File tree Expand file tree Collapse file tree 4 files changed +28
-8
lines changed Expand file tree Collapse file tree 4 files changed +28
-8
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,13 @@ RESOURCE_DIR="resources/linux-x86-64"
66LIB_NAME=" libbdkffi.so"
77
88printf " \nSubmodule check...\n"
9- git submodule update --init
10- printf " Submodule is checked out at commit: $( git submodule status) \n\n"
9+ if [[ " $1 " != " --skip-submodule-update" ]]; then
10+ git submodule update --init
11+ printf " Submodule is checked out at commit: $( git submodule status) \n\n"
12+ else
13+ printf " Skipping submodule update, using local changes.\n"
14+ printf " Submodule is checked out at commit: $( git submodule status) \n\n"
15+ fi
1116
1217# Move to the Rust library directory
1318cd ./bdk-ffi/bdk-ffi/ || exit
Original file line number Diff line number Diff line change @@ -6,8 +6,13 @@ RESOURCE_DIR="resources/darwin-aarch64"
66LIB_NAME=" libbdkffi.dylib"
77
88printf " \nSubmodule check...\n"
9- git submodule update --init
10- printf " Submodule is checked out at commit: $( git submodule status) \n\n"
9+ if [[ " $1 " != " --skip-submodule-update" ]]; then
10+ git submodule update --init
11+ printf " Submodule is checked out at commit: $( git submodule status) \n\n"
12+ else
13+ printf " Skipping submodule update, using local changes.\n"
14+ printf " Submodule is checked out at commit: $( git submodule status) \n\n"
15+ fi
1116
1217# Move to the Rust library directory
1318cd ./bdk-ffi/bdk-ffi/ || exit
Original file line number Diff line number Diff line change @@ -6,8 +6,13 @@ RESOURCE_DIR="resources/darwin-x86-64"
66LIB_NAME=" libbdkffi.dylib"
77
88printf " \nSubmodule check...\n"
9- git submodule update --init
10- printf " Submodule is checked out at commit: $( git submodule status) \n\n"
9+ if [[ " $1 " != " --skip-submodule-update" ]]; then
10+ git submodule update --init
11+ printf " Submodule is checked out at commit: $( git submodule status) \n\n"
12+ else
13+ printf " Skipping submodule update, using local changes.\n"
14+ printf " Submodule is checked out at commit: $( git submodule status) \n\n"
15+ fi
1116
1217# Move to the Rust library directory
1318cd ./bdk-ffi/bdk-ffi/ || exit
Original file line number Diff line number Diff line change @@ -6,8 +6,13 @@ RESOURCE_DIR="resources/win32-x86-64"
66LIB_NAME=" bdkffi.dll"
77
88printf " \nSubmodule check...\n"
9- git submodule update --init
10- printf " Submodule is checked out at commit: $( git submodule status) \n\n"
9+ if [[ " $1 " != " --skip-submodule-update" ]]; then
10+ git submodule update --init
11+ printf " Submodule is checked out at commit: $( git submodule status) \n\n"
12+ else
13+ printf " Skipping submodule update, using local changes.\n"
14+ printf " Submodule is checked out at commit: $( git submodule status) \n\n"
15+ fi
1116
1217# Move to the Rust library directory
1318cd ./bdk-ffi/bdk-ffi/ || exit
You can’t perform that action at this time.
0 commit comments