-
Notifications
You must be signed in to change notification settings - Fork 15
/
Package.swift
29 lines (28 loc) · 1.37 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
// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "GitBuddy",
platforms: [
.macOS(.v10_15)
],
products: [
.executable(name: "GitBuddy", targets: ["GitBuddy"])
],
dependencies: [
.package(url: "https://github.com/WeTransfer/Mocker.git", .upToNextMajor(from: "2.1.0")),
/// Temporarily pointing to the WeTransfer fork of `octokit.swift` because the current version (`0.11.0`) doesn't include
/// the changes around Releases. Once a new version is released, we should go back to pointing to the original repo:
/// `.package(url: "https://github.com/nerdishbynature/octokit.swift", .upToNextMajor(from: "0.11.0"))`
.package(url: "https://github.com/WeTransfer/octokit.swift", .branch("main")),
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMajor(from: "1.0.0"))
],
targets: [
.executableTarget(name: "GitBuddy", dependencies: ["GitBuddyCore"]),
.target(name: "GitBuddyCore", dependencies: [
.product(name: "OctoKit", package: "octokit.swift"),
.product(name: "ArgumentParser", package: "swift-argument-parser")
]),
.testTarget(name: "GitBuddyTests", dependencies: ["GitBuddy", "Mocker"])
]
)