-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
52 lines (49 loc) · 1.46 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.3
import PackageDescription
let package = Package(
name: "AndreyAndreyevich",
products: [
.library(
name: "AndreyAndreyevich",
targets: ["AndreyAndreyevich"]),
.executable(
name: "markov",
targets: ["markov"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "0.4.0"),
.package(url: "https://github.com/apple/swift-algorithms", from: "0.2.1"),
.package(url: "https://github.com/apple/swift-collections", from: "0.0.4"),
.package(name: "SnapshotTesting", url: "https://github.com/pointfreeco/swift-snapshot-testing", from: "1.9.0"),
.package(name: "Benchmark", url: "https://github.com/google/swift-benchmark", from: "0.1.0"),
],
targets: [
.target(
name: "AndreyAndreyevich",
dependencies: [
.product(name: "Collections", package: "swift-collections"),
.product(name: "Algorithms", package: "swift-algorithms"),
]),
.target(
name: "markov",
dependencies: [
"AndreyAndreyevich",
.product(name: "ArgumentParser", package: "swift-argument-parser"),
]),
.target(
name: "name-generation-benchmark",
dependencies: [
"AndreyAndreyevich",
"Benchmark",
]),
.testTarget(
name: "AndreyAndreyevichTests",
dependencies: [
"AndreyAndreyevich",
"SnapshotTesting",
],
exclude: [
"__Snapshots__",
]),
]
)