mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-22 04:30:47 +00:00
To support building Sparkle in Xcode 27 (beta 1), we need to bump the deployment target.
27 lines
853 B
Swift
27 lines
853 B
Swift
// swift-tools-version:5.3
|
|
import PackageDescription
|
|
|
|
// Version is technically not required here, SPM doesn't check
|
|
let version = "2.9.3"
|
|
// Tag is required to point towards the right asset. SPM requires the tag to follow semantic versioning to be able to resolve it.
|
|
let tag = "2.9.3"
|
|
let checksum = "3a5d7fd698acc39c122e75764ed3614b472b284cc483f32ae7006d86c513370c"
|
|
let url = "https://github.com/sparkle-project/Sparkle/releases/download/\(tag)/Sparkle-for-Swift-Package-Manager.zip"
|
|
|
|
let package = Package(
|
|
name: "Sparkle",
|
|
platforms: [.macOS(.v12)], // leaving "12.0" as a breadcrumb for searching
|
|
products: [
|
|
.library(
|
|
name: "Sparkle",
|
|
targets: ["Sparkle"])
|
|
],
|
|
targets: [
|
|
.binaryTarget(
|
|
name: "Sparkle",
|
|
url: url,
|
|
checksum: checksum
|
|
)
|
|
]
|
|
)
|