forked from pointfreeco/swift-url-routing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
51 lines (49 loc) · 1.52 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
// swift-tools-version: 5.7
import PackageDescription
let package = Package(
name: "swift-url-routing",
platforms: [
.iOS(.v13),
.macOS(.v10_15),
.tvOS(.v13),
.watchOS(.v6),
],
products: [
.library(name: "URLRouting", targets: ["URLRouting"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "0.5.0"),
.package(url: "https://github.com/apple/swift-collections", from: "1.0.3"),
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
.package(url: "https://github.com/pointfreeco/swift-parsing", from: "0.13.0"),
.package(url: "https://github.com/pointfreeco/xctest-dynamic-overlay", from: "1.2.2"),
.package(url: "https://github.com/google/swift-benchmark", from: "0.1.1"),
],
targets: [
.target(
name: "URLRouting",
dependencies: [
.product(name: "IssueReporting", package: "xctest-dynamic-overlay"),
.product(name: "OrderedCollections", package: "swift-collections"),
.product(name: "Parsing", package: "swift-parsing"),
]
),
.testTarget(
name: "URLRoutingTests",
dependencies: [
"URLRouting"
]
),
.executableTarget(
name: "swift-url-routing-benchmark",
dependencies: [
"URLRouting",
.product(name: "Benchmark", package: "swift-benchmark"),
]
),
.executableTarget(
name: "variadics-generator",
dependencies: [.product(name: "ArgumentParser", package: "swift-argument-parser")]
),
]
)