-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathPackage.swift
38 lines (33 loc) · 1.03 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
33
34
35
36
37
38
// swift-tools-version:5.6
import PackageDescription
let package = Package(
name: "Postie",
platforms: [
.macOS(.v10_15),
.iOS(.v13),
],
products: [
.library(name: "Postie", targets: ["Postie"]),
.library(name: "PostieMock", targets: ["PostieMock"]),
],
dependencies: [
.package(url: "https://github.com/MaxDesiatov/XMLCoder", .upToNextMajor(from: "0.17.1"))
],
targets: [
.target(
name: "Postie",
dependencies: [
"URLEncodedFormCoding",
"PostieUtils",
"XMLCoder",
]),
// dev .testTarget(name: "PostieTests", dependencies: [
// dev "Postie",
// dev "PostieMock"
// dev ]),
.target(name: "PostieMock", dependencies: ["Postie"]),
.target(name: "URLEncodedFormCoding", dependencies: ["PostieUtils"]),
.target(name: "PostieUtils"),
// dev .testTarget(name: "PostieUtilsTests", dependencies: ["PostieUtils"])
]
)