-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Package.swift
41 lines (39 loc) · 866 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
32
33
34
35
36
37
38
39
40
41
// swift-tools-version:5.7
import PackageDescription
var package = Package(
name: "Sweet",
platforms: [
.iOS(.v13),
.macOS(.v10_15),
.tvOS(.v13),
.watchOS(.v6),
.macCatalyst(.v13)
],
products: [
.library(
name: "Sweet",
targets: ["Sweet"]
),
],
dependencies: [
.package(url: "https://github.com/zunda-pixel/HTTPClient", .upToNextMajor(from: "1.4.2")),
.package(url: "https://github.com/zunda-pixel/OAuth1", .upToNextMajor(from: "1.0.6")),
],
targets: [
.target(
name: "Sweet",
dependencies: [
.product(name: "HTTPClient", package: "HTTPClient"),
.product(name: "OAuth1", package: "OAuth1"),
]
),
.testTarget(
name: "SweetTests",
dependencies: ["Sweet"],
path: "Tests",
resources: [
.copy("Resources"),
]
)
]
)