-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
66 lines (65 loc) · 1.92 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "S3Kit",
platforms: [
.macOS(.v10_14)
],
products: [
.library(name: "S3Kit", targets: ["S3Kit"]),
.library(name: "S3Signer", targets: ["S3Signer"]),
// .library(name: "S3TestTools", targets: ["S3TestTools"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", from: "2.5.0"),
.package(url: "https://github.com/vapor/vapor.git", from: "4.0.0-beta.2"),
.package(url: "https://github.com/vapor/open-crypto.git", from: "4.0.0-beta.2"),
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.0.0"),
.package(url: "https://github.com/Einstore/HTTPMediaTypes.git", from: "0.0.1"),
.package(url: "https://github.com/Einstore/WebErrorKit.git", from: "0.0.1"),
.package(url: "https://github.com/LiveUI/XMLCoding.git", from: "0.1.0")
],
targets: [
.target(
name: "S3Kit",
dependencies: [
"S3Signer",
"AsyncHTTPClient",
"HTTPMediaTypes",
"XMLCoding"
]
),
.target(
name: "S3Provider",
dependencies: [
"Vapor",
"S3Kit"
]
),
.target(
name: "S3DemoRun",
dependencies: [
"Vapor",
"S3Provider"
]
),
.target(
name: "S3Signer",
dependencies: [
"OpenCrypto",
"NIOHTTP1",
"HTTPMediaTypes",
"WebErrorKit"
]
),
// .target(name: "S3TestTools", dependencies: [
// "Vapor",
// "S3Kit"
// ]
// ),
.testTarget(name: "S3Tests", dependencies: [
"S3Kit"
]
)
]
)