File tree 2 files changed +6
-6
lines changed 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,9 @@ CFLAGS_x86_64_apple_darwin="-target x86_64-apple-darwin" \
44
44
$cargo_build --target x86_64-apple-darwin --locked --release
45
45
46
46
# copies the generated header into the build folder structure for local XCFramework usage
47
- mkdir -p " ${BUILD_FOLDER} /includes"
48
- cp " ${SWIFT_FOLDER} /loroFFI.h" " ${BUILD_FOLDER} /includes"
49
- cp " ${SWIFT_FOLDER} /loroFFI.modulemap" " ${BUILD_FOLDER} /includes/module.modulemap"
47
+ mkdir -p " ${BUILD_FOLDER} /includes/loroFFI "
48
+ cp " ${SWIFT_FOLDER} /loroFFI.h" " ${BUILD_FOLDER} /includes/loroFFI "
49
+ cp " ${SWIFT_FOLDER} /loroFFI.modulemap" " ${BUILD_FOLDER} /includes/loroFFI/ module.modulemap"
50
50
cp -f " ${SWIFT_FOLDER} /loro.swift" " ${THIS_SCRIPT_DIR} /../Sources/Loro/LoroFFI.swift"
51
51
52
52
echo " ▸ Lipo (merge) x86 and arm macOS static libraries into a fat static binary"
Original file line number Diff line number Diff line change @@ -98,9 +98,9 @@ $cargo_build --target wasm32-wasi --locked --release
98
98
# cp "${SWIFT_FOLDER}/automergeFFI.modulemap" "${SWIFT_FOLDER}/../Sources/_CAutomergeUniffi/include/module.modulemap"
99
99
100
100
# copies the generated header into the build folder structure for local XCFramework usage
101
- mkdir -p " ${BUILD_FOLDER} /includes"
102
- cp " ${SWIFT_FOLDER} /loroFFI.h" " ${BUILD_FOLDER} /includes"
103
- cp " ${SWIFT_FOLDER} /loroFFI.modulemap" " ${BUILD_FOLDER} /includes/module.modulemap"
101
+ mkdir -p " ${BUILD_FOLDER} /includes/loroFFI "
102
+ cp " ${SWIFT_FOLDER} /loroFFI.h" " ${BUILD_FOLDER} /includes/loroFFI "
103
+ cp " ${SWIFT_FOLDER} /loroFFI.modulemap" " ${BUILD_FOLDER} /includes/loroFFI/ module.modulemap"
104
104
105
105
echo " ▸ Lipo (merge) x86 and arm simulator static libraries into a fat static binary"
106
106
mkdir -p " ${BUILD_FOLDER} /ios-simulator/release"
You can’t perform that action at this time.
0 commit comments