forked from SwiftGit2/SwiftGit2
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathPackage.swift
32 lines (30 loc) · 1.04 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "SwiftGit2",
// This is necessary because the test dependencies explicitly specify these platform versions.
platforms: [.macOS(.v10_15), .iOS("15.5"), .tvOS(.v13), .visionOS(.v1)],
products: [
.library(
name: "SwiftGit2",
targets: ["SwiftGit2"]
),
],
dependencies: [
.package(url: "https://github.com/mbernson/libgit2.git", branch: "spm"),
.package(url: "https://github.com/Quick/Quick.git", from: "7.0.0"),
.package(url: "https://github.com/Quick/Nimble.git", from: "13.0.0"),
.package(url: "https://github.com/ZipArchive/ZipArchive.git", from: "2.5.5"),
],
targets: [
.target(
name: "SwiftGit2",
dependencies: ["libgit2"]
),
.testTarget(
name: "SwiftGit2Tests",
dependencies: ["SwiftGit2", "libgit2", "Quick", "Nimble", "ZipArchive"],
resources: [.copy("Fixtures")]
),
]
)