Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit 81762d0

Browse files
authored
build: add a version specific manifest for 5.5 (#270)
This adds a version specific manifest for 5.5. The change from the main manifest is the revision of SwiftSyntax being tracked. This is needed to enable CI coverage for Windows.
1 parent 807b808 commit 81762d0

File tree

1 file changed

+77
-0
lines changed

1 file changed

+77
-0
lines changed

[email protected]

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
// swift-tools-version:5.3
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+
import PackageDescription
5+
6+
let package = Package(
7+
name: "swift-doc",
8+
platforms: [
9+
.macOS(.v10_15)
10+
],
11+
products: [
12+
.executable(name: "swift-doc", targets: ["swift-doc"]),
13+
.library(name: "SwiftDoc", targets: ["SwiftDoc"])
14+
],
15+
dependencies: [
16+
.package(name: "SwiftSyntax", url: "https://github.com/apple/swift-syntax.git", .revision("release/5.5)),
17+
.package(url: "https://github.com/SwiftDocOrg/SwiftSemantics.git", .upToNextMinor(from: "0.3.0")),
18+
.package(url: "https://github.com/SwiftDocOrg/CommonMark.git", .upToNextMinor(from: "0.5.0")),
19+
.package(url: "https://github.com/SwiftDocOrg/SwiftMarkup.git", .upToNextMinor(from: "0.3.0")),
20+
.package(url: "https://github.com/SwiftDocOrg/GraphViz.git", .upToNextMinor(from: "0.4.0")),
21+
.package(url: "https://github.com/NSHipster/HypertextLiteral.git", .upToNextMinor(from: "0.0.2")),
22+
.package(url: "https://github.com/SwiftDocOrg/Markup.git", .upToNextMinor(from: "0.1.2")),
23+
.package(url: "https://github.com/NSHipster/SwiftSyntaxHighlighter.git", .revision("1.2.2")),
24+
.package(url: "https://github.com/apple/swift-argument-parser.git", .upToNextMinor(from: "0.3.2")),
25+
.package(url: "https://github.com/apple/swift-log.git", .upToNextMinor(from: "1.4.2")),
26+
.package(name: "LoggingGitHubActions", url: "https://github.com/NSHipster/swift-log-github-actions.git", .upToNextMinor(from: "0.0.1")),
27+
],
28+
targets: [
29+
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
30+
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
31+
.target(
32+
name: "swift-doc",
33+
dependencies: [
34+
.target(name: "SwiftDoc"),
35+
.target(name: "DCOV"),
36+
.product(name: "ArgumentParser", package: "swift-argument-parser"),
37+
.product(name: "SwiftSemantics", package: "SwiftSemantics"),
38+
.product(name: "SwiftMarkup", package: "SwiftMarkup"),
39+
.product(name: "CommonMarkBuilder", package: "CommonMark"),
40+
.product(name: "HypertextLiteral", package: "HypertextLiteral"),
41+
.product(name: "Markup", package: "Markup"),
42+
.product(name: "GraphViz", package: "GraphViz"),
43+
.product(name: "SwiftSyntaxHighlighter", package: "SwiftSyntaxHighlighter"),
44+
.product(name: "Logging", package: "swift-log"),
45+
.product(name: "LoggingGitHubActions", package: "LoggingGitHubActions")
46+
]
47+
),
48+
.target(
49+
name: "DCOV",
50+
dependencies: []
51+
),
52+
.target(
53+
name: "SwiftDoc",
54+
dependencies: [
55+
.product(name: "SwiftSyntax", package: "SwiftSyntax"),
56+
.product(name: "SwiftSemantics", package: "SwiftSemantics"),
57+
.product(name: "SwiftMarkup", package: "SwiftMarkup"),
58+
.product(name: "SwiftSyntaxHighlighter", package: "SwiftSyntaxHighlighter")
59+
]
60+
),
61+
.testTarget(
62+
name: "SwiftDocTests",
63+
dependencies: [
64+
.target(name: "SwiftDoc"),
65+
.product(name: "SwiftSyntax", package: "SwiftSyntax"),
66+
.product(name: "SwiftSemantics", package: "SwiftSemantics"),
67+
.product(name: "SwiftMarkup", package: "SwiftMarkup")
68+
]
69+
),
70+
.testTarget(
71+
name: "EndToEndTests",
72+
dependencies: [
73+
.target(name: "swift-doc"),
74+
]
75+
),
76+
]
77+
)

0 commit comments

Comments
 (0)