Skip to content

Commit

Permalink
Set checksum for xcframework zip
Browse files Browse the repository at this point in the history
  • Loading branch information
simlay committed Apr 24, 2024
1 parent 22c4ae8 commit f36e820
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
8 changes: 6 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ members = [
]

[workspace.package]
version = "0.2.0"
version = "0.3.0"
rust-version = "1.64"
authors = ["Paul Schoenfelder <[email protected]>", "Thomas Sieverding <[email protected]>", "Elle Imhoff <[email protected]>"]
authors = [
"Paul Schoenfelder <[email protected]>",
"Thomas Sieverding <[email protected]>",
"Elle Imhoff <[email protected]>"
]
description = "Provides core, cross-platform functionality for LiveView Native implementations"
repository = "https://github.com/liveview-native/liveview-native-core"
homepage = "https://github.com/liveview-native/liveview-native-core"
Expand Down
13 changes: 13 additions & 0 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,19 @@ args = [
"${CARGO_TARGET_DIR}/uniffi/swift/generated/PhoenixChannelsClient.swift",
"${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/crates/core/liveview-native-core-swift/Sources/LiveViewNativeCore/PhoenixChannelsClient.swift",
]
[tasks.uniffi-xcframework-zip]
workspace = false
category = "Packaging"
description = "Generates zip of liveview_native_core.xcframework"
command = "ditto"
args = [
"-c", "-k", "--sequesterRsrc", "--keepParent",
"target/uniffi/swift/liveview_native_core.xcframework/",
"target/uniffi/swift/liveview_native_core.xcframework.zip"
]
dependencies = [
"uniffi-xcframework",
]

[tasks.uniffi-xcframework]
workspace = false
Expand Down
2 changes: 1 addition & 1 deletion crates/core/liveview-native-core-swift/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if useLocalFramework {
)
} else {
let releaseTag = "0.3.0"
let releaseChecksum = ""
let releaseChecksum = "59be62944e5dccf36898d5cf0d6700e5ef87b42cfdab1e8c5721bbe96abe63f3"
rustFramework = .binaryTarget(
name: "liveview_native_core",
url: "https://github.com/liveview-native/liveview-native-core/releases/download/\(releaseTag)/liveview_native_core.xcframework.zip",
Expand Down

0 comments on commit f36e820

Please sign in to comment.