-
Notifications
You must be signed in to change notification settings - Fork 61
/
Package.swift
63 lines (62 loc) · 1.89 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
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "S3Kit",
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-alpha.3"),
.package(url: "https://github.com/vapor/open-crypto.git", from: "4.0.0-alpha.2"),
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.0.0-alpha.2"),
.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"
]
)
]
)