This repository has been archived by the owner on Sep 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Package.swift
53 lines (51 loc) · 1.72 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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "DocTest",
platforms: [
.macOS(.v10_12)
],
products: [
.executable(name: "swift-doctest", targets: ["swift-doctest"]),
.library(name: "DocTest", targets: ["DocTest"])
],
dependencies: [
.package(name: "SwiftSyntax",
url: "https://github.com/apple/swift-syntax.git",
.revision("0.50300.0")
),
.package(url: "https://github.com/apple/swift-argument-parser.git",
.upToNextMinor(from: "0.3.1")
),
.package(url: "https://github.com/SwiftDocOrg/TAP.git",
.upToNextMinor(from: "0.1.1")
),
.package(url: "https://github.com/SwiftDocOrg/StringLocationConverter.git",
.upToNextMinor(from: "0.0.1")
),
.package(url: "https://github.com/apple/swift-log.git",
.upToNextMinor(from: "1.4.0")
),
],
targets: [
.target(
name: "swift-doctest",
dependencies: [
.target(name: "DocTest"),
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "Logging", package: "swift-log"),
]),
.target(
name: "DocTest",
dependencies: [
.product(name: "SwiftSyntax", package: "SwiftSyntax"),
.product(name: "StringLocationConverter", package: "StringLocationConverter"),
.product(name: "TAP", package: "TAP"),
]),
.testTarget(
name: "DocTestTests",
dependencies: [
.target(name: "DocTest"),
]),
]
)