mirror of
https://github.com/zhigang1992/fal-swift.git
synced 2026-01-12 09:03:55 +08:00
* feat: fal.run url support * fix: msgpack ios15 support * chore: add basic tests and build updates * fix: build job runs-on * fix: remove ubuntu build * fix: remove version matrix for now * fix: remove test temporarily * fix: ios version * fix: temp remove sample build * chore: update msgpack dependency * feat: add fal image codable struct * chore: update all urls to fal.run
45 lines
1.2 KiB
Swift
45 lines
1.2 KiB
Swift
// swift-tools-version: 5.7
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "FalClient",
|
|
platforms: [
|
|
.iOS(.v15),
|
|
.macOS(.v12),
|
|
.macCatalyst(.v15),
|
|
.tvOS(.v15),
|
|
.watchOS(.v8),
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "FalClient",
|
|
targets: ["FalClient"]
|
|
),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/nnabeyang/swift-msgpack.git", from: "0.3.3"),
|
|
.package(url: "https://github.com/Quick/Quick.git", from: "7.3.0"),
|
|
.package(url: "https://github.com/Quick/Nimble.git", from: "13.0.0"),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "FalClient",
|
|
dependencies: [
|
|
.product(name: "SwiftMsgpack", package: "swift-msgpack"),
|
|
],
|
|
path: "Sources/FalClient"
|
|
),
|
|
.testTarget(
|
|
name: "FalClientTests",
|
|
dependencies: [
|
|
"FalClient",
|
|
.product(name: "Quick", package: "quick"),
|
|
.product(name: "Nimble", package: "nimble"),
|
|
],
|
|
path: "Tests/FalClientTests"
|
|
),
|
|
]
|
|
)
|