-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
36 lines (32 loc) · 1.1 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
// swift-tools-version:5.7
import PackageDescription
let package = Package(
name: "PeriodDuration",
platforms: [
.iOS(.v13),
.tvOS(.v13),
.macOS(.v10_15),
.watchOS(.v6),
],
products: [
.library(name: "PeriodDuration", targets: ["PeriodDuration"]),
],
targets: [
.target(name: "PeriodDuration", dependencies: [
.product(name: "Parsing", package: "swift-parsing"),
]),
.testTarget(name: "PeriodDurationTests", dependencies: [
.target(name: "PeriodDuration"),
.product(name: "JSONTesting", package: "swift-json-testing"),
]),
.executableTarget(name: "Benchmarks", dependencies: [
.target(name: "PeriodDuration"),
.product(name: "Benchmark", package: "swift-benchmark"),
]),
]
)
package.dependencies = [
.package(url: "https://github.com/google/swift-benchmark", from: "0.1.2"),
.package(url: "https://github.com/pointfreeco/swift-parsing", from: "0.13.0"),
.package(url: "https://github.com/davdroman/swift-json-testing", from: "0.2.0"),
]