-
Notifications
You must be signed in to change notification settings - Fork 7
/
Package.swift
38 lines (34 loc) · 1.23 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.7
import PackageDescription
let package = Package(
name: "TextBuilder",
platforms: [
.iOS(.v13),
.tvOS(.v13),
.macOS(.v10_15),
.watchOS(.v6),
],
products: [
.library(name: "TextBuilder", targets: ["TextBuilder"]),
],
targets: [
.target(name: "TextBuilder", dependencies: [
.product(name: "Builders", package: "swift-builders"),
]),
.testTarget(name: "TextBuilderTests", dependencies: [
.product(name: "BuildersTestSupport", package: "swift-builders"),
.product(name: "CustomDump", package: "swift-custom-dump"),
.target(name: "TextBuilder"),
]),
.executableTarget(name: "Benchmarks", dependencies: [
.product(name: "Benchmark", package: "swift-benchmark"),
.product(name: "BuildersTestSupport", package: "swift-builders"),
.target(name: "TextBuilder"),
]),
]
)
package.dependencies = [
.package(url: "https://github.com/google/swift-benchmark", from: "0.1.2"),
.package(url: "https://github.com/davdroman/swift-builders", from: "0.5.1"),
.package(url: "https://github.com/pointfreeco/swift-custom-dump", from: "1.0.0"),
]