-
Notifications
You must be signed in to change notification settings - Fork 2
/
Package.swift
26 lines (24 loc) · 1.06 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
// 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: "OctoKit",
platforms: [.iOS(.v15), .macCatalyst(.v15), .macOS(.v12), .watchOS(.v8), .tvOS(.v15)],
products: [
.library(name: "OctoKit", targets: ["OctoKit"]),
],
dependencies: [
.package(url: "https://github.com/kean/Get", branch: "main"),
.package(url: "https://github.com/kean/HTTPHeaders", branch: "main"),
.package(url: "https://github.com/kean/NaiveDate", branch: "master"),
.package(url: "https://github.com/WeTransfer/Mocker.git", from: "2.3.0"),
],
targets: [
.target(name: "OctoKit", dependencies: [
.product(name: "Get", package: "Get"),
.product(name: "HTTPHeaders", package: "HTTPHeaders"),
.product(name: "NaiveDate", package: "NaiveDate")
]),
.testTarget(name: "OctoKitTests", dependencies: ["OctoKit", "Mocker"], resources: [.process("Resources")]),
]
)