Skip to content

Commit

Permalink
Add script to create Swift xcframework archive and update Package.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
tnull committed Jun 19, 2023
1 parent da582a4 commit f21bd20
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/create_xcframework_archive.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ditto -c -k --sequesterRsrc --keepParent ./bindings/swift/LDKNodeFFI.xcframework ./bindings/swift/LDKNodeFFI.xcframework.zip || exit 1
CHECKSUM=`swift package compute-checksum ./bindings/swift/LDKNodeFFI.xcframework.zip` || exit 1
echo "New checksum: $CHECKSUM" || exit 1
python3 ./scripts/update_swift_package_checksum.py --checksum "${CHECKSUM}" || exit 1

0 comments on commit f21bd20

Please sign in to comment.