-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
31 lines (29 loc) · 1020 Bytes
/
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
// swift-tools-version: 5.7
import PackageDescription
let package = Package(
name: "swift-pr",
platforms: [.macOS(.v12)],
products: [
.library(name: "SwiftPR", targets: ["SwiftPR"])
],
dependencies: [
.package(url: "https://github.com/clayellis/swift-arguments", branch: "main"),
.package(url: "https://github.com/clayellis/swift-environment", branch: "main"),
.package(url: "https://github.com/nerdishbynature/octokit.swift", branch: "main")
],
targets: [
.target(
name: "SwiftPR",
dependencies: [
.product(name: "Arguments", package: "swift-arguments"),
.product(name: "SwiftEnvironment", package: "swift-environment"),
.product(name: "OctoKit", package: "octokit.swift")
]
),
.testTarget(
name: "SwiftPRTests",
dependencies: ["SwiftPR"]
),
.executableTarget(name: "Demo", dependencies: ["SwiftPR"])
]
)