Skip to content

Commit

Permalink
update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
llbartekll committed Sep 20, 2024
1 parent 134493e commit e345a63
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 46 deletions.
23 changes: 0 additions & 23 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ let package = Package(
name: "Yttrium",
targets: ["Yttrium"]
),
.library(
name: "YttriumDev",
targets: ["YttriumDev"]
),
],
dependencies: [
.package(url: "https://github.com/thebarndog/swift-dotenv.git", from: "2.0.0")
Expand All @@ -31,37 +27,18 @@ let package = Package(
],
path: "platforms/swift/Sources/Yttrium"
),
.target(
name: "YttriumDev",
dependencies: [
"YttriumCoreDev",
.product(name: "SwiftDotenv", package: "swift-dotenv")
],
path: "platforms/swift/Sources/Yttrium"
),
.target(
name: "YttriumCore",
dependencies: [
"RustXcframeworkRelease"
],
path: "crates/ffi/YttriumCore/Sources/YttriumCore"
),
.target(
name: "YttriumCoreDev",
dependencies: [
"RustXcframeworkDev"
],
path: "crates/ffi/YttriumCore/Sources/YttriumCore"
),
.binaryTarget(
name: "RustXcframeworkRelease",
url: "https://github.com/WalletConnect/yttrium/releases/download/0.0.1-alpha-test/RustXcframework.xcframework.zip",
checksum: "360ecd0ec70ec79883e03969cf359528e5de9c021a0177450506729eb523474f"
),
.binaryTarget(
name: "RustXcframeworkDev",
path: "crates/ffi/YttriumCore/RustXcframework.xcframework"
),
.testTarget(
name: "YttriumTests",
dependencies: [
Expand Down
23 changes: 0 additions & 23 deletions scripts/generate_package_swift.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ let package = Package(
name: "Yttrium",
targets: ["Yttrium"]
),
.library(
name: "YttriumDev",
targets: ["YttriumDev"]
),
],
dependencies: [
.package(url: "https://github.com/thebarndog/swift-dotenv.git", from: "2.0.0")
Expand All @@ -43,37 +39,18 @@ let package = Package(
],
path: "platforms/swift/Sources/Yttrium"
),
.target(
name: "YttriumDev",
dependencies: [
"YttriumCoreDev",
.product(name: "SwiftDotenv", package: "swift-dotenv")
],
path: "platforms/swift/Sources/Yttrium"
),
.target(
name: "YttriumCore",
dependencies: [
"RustXcframeworkRelease"
],
path: "crates/ffi/YttriumCore/Sources/YttriumCore"
),
.target(
name: "YttriumCoreDev",
dependencies: [
"RustXcframeworkDev"
],
path: "crates/ffi/YttriumCore/Sources/YttriumCore"
),
.binaryTarget(
name: "RustXcframeworkRelease",
url: "$REPO_URL/releases/download/$PACKAGE_VERSION/$RUST_XCFRAMEWORK_ZIP",
checksum: "$RUST_CHECKSUM"
),
.binaryTarget(
name: "RustXcframeworkDev",
path: "crates/ffi/YttriumCore/RustXcframework.xcframework"
),
.testTarget(
name: "YttriumTests",
dependencies: [
Expand Down

0 comments on commit e345a63

Please sign in to comment.