mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
27 lines
857 B
Swift
27 lines
857 B
Swift
// swift-tools-version:5.3
|
|
import PackageDescription
|
|
|
|
// Version is technically not required here, SPM doesn't check
|
|
let version = "2.8.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.8.0"
|
|
let checksum = "dfb69c5b4d040a162c8076817e96ef635f5627f3af606222376c870e03b9f8ca"
|
|
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_13)], // leaving "10.13" as a breadcrumb for searching
|
|
products: [
|
|
.library(
|
|
name: "Sparkle",
|
|
targets: ["Sparkle"])
|
|
],
|
|
targets: [
|
|
.binaryTarget(
|
|
name: "Sparkle",
|
|
url: url,
|
|
checksum: checksum
|
|
)
|
|
]
|
|
)
|