mirror of
https://github.com/sparkle-project/Sparkle.git
synced 2025-11-01 15:34:38 +00:00
27 lines
808 B
Swift
27 lines
808 B
Swift
// swift-tools-version:5.3
|
|
import PackageDescription
|
|
|
|
// Version is technically not required here, SPM doesn't check
|
|
let version = "2.5.0"
|
|
// 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.5.0"
|
|
let checksum = "f7e6ef91edee5704b76358c9485edc63a79dfefe770d8b5340818b7db69187df"
|
|
let url = "https://github.com/sparkle-project/Sparkle/releases/download/\(tag)/Sparkle-for-Swift-Package-Manager.zip"
|
|
|
|
let package = Package(
|
|
name: "Sparkle",
|
|
platforms: [.macOS(.v10_11)],
|
|
products: [
|
|
.library(
|
|
name: "Sparkle",
|
|
targets: ["Sparkle"])
|
|
],
|
|
targets: [
|
|
.binaryTarget(
|
|
name: "Sparkle",
|
|
url: url,
|
|
checksum: checksum
|
|
)
|
|
]
|
|
)
|