1
- // swift-tools-version:5.1
1
+ // swift-tools-version:5.3
2
2
// The swift-tools-version declares the minimum version of Swift required to build this package.
3
3
4
4
import PackageDescription
@@ -10,36 +10,58 @@ let package = Package(
10
10
. library( name: " SwiftDoc " , targets: [ " SwiftDoc " ] )
11
11
] ,
12
12
dependencies: [
13
- . package ( url: " https://github.com/apple/swift-syntax.git " , . revision( " 0.50200 .0 " ) ) ,
13
+ . package ( name : " SwiftSyntax " , url: " https://github.com/apple/swift-syntax.git " , . revision( " 0.50300 .0 " ) ) ,
14
14
. package ( url: " https://github.com/SwiftDocOrg/SwiftSemantics.git " , . upToNextMinor( from: " 0.1.0 " ) ) ,
15
15
. package ( url: " https://github.com/SwiftDocOrg/CommonMark.git " , . upToNextMinor( from: " 0.4.0 " ) ) ,
16
16
. package ( url: " https://github.com/SwiftDocOrg/SwiftMarkup.git " , . upToNextMinor( from: " 0.2.1 " ) ) ,
17
17
. package ( url: " https://github.com/SwiftDocOrg/GraphViz.git " , . upToNextMinor( from: " 0.1.2 " ) ) ,
18
18
. package ( url: " https://github.com/NSHipster/HypertextLiteral.git " , . upToNextMinor( from: " 0.0.2 " ) ) ,
19
19
. package ( url: " https://github.com/SwiftDocOrg/Markup.git " , . upToNextMinor( from: " 0.0.3 " ) ) ,
20
- . package ( url: " https://github.com/NSHipster/SwiftSyntaxHighlighter.git " , . revision( " 1.0 .0 " ) ) ,
20
+ . package ( url: " https://github.com/NSHipster/SwiftSyntaxHighlighter.git " , . revision( " 1.1 .0 " ) ) ,
21
21
. package ( url: " https://github.com/apple/swift-argument-parser.git " , . upToNextMinor( from: " 0.0.6 " ) ) ,
22
22
. package ( url: " https://github.com/apple/swift-log.git " , . upToNextMinor( from: " 1.2.0 " ) ) ,
23
- . package ( url: " https://github.com/NSHipster/swift-log-github-actions.git " , . upToNextMinor( from: " 0.0.1 " ) ) ,
23
+ . package ( name : " LoggingGitHubActions " , url: " https://github.com/NSHipster/swift-log-github-actions.git " , . upToNextMinor( from: " 0.0.1 " ) ) ,
24
24
] ,
25
25
targets: [
26
26
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
27
27
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
28
28
. target(
29
29
name: " swift-doc " ,
30
- dependencies: [ " ArgumentParser " , " SwiftDoc " , " SwiftSemantics " , " SwiftMarkup " , " CommonMarkBuilder " , " HypertextLiteral " , " Markup " , " DCOV " , " GraphViz " , " SwiftSyntaxHighlighter " , " Logging " , " LoggingGitHubActions " ]
30
+ dependencies: [
31
+ . target( name: " SwiftDoc " ) ,
32
+ . target( name: " DCOV " ) ,
33
+ . product( name: " ArgumentParser " , package : " swift-argument-parser " ) ,
34
+ . product( name: " SwiftSemantics " , package : " SwiftSemantics " ) ,
35
+ . product( name: " SwiftMarkup " , package : " SwiftMarkup " ) ,
36
+ . product( name: " CommonMarkBuilder " , package : " CommonMark " ) ,
37
+ . product( name: " HypertextLiteral " , package : " HypertextLiteral " ) ,
38
+ . product( name: " Markup " , package : " Markup " ) ,
39
+ . product( name: " GraphViz " , package : " GraphViz " ) ,
40
+ . product( name: " SwiftSyntaxHighlighter " , package : " SwiftSyntaxHighlighter " ) ,
41
+ . product( name: " Logging " , package : " swift-log " ) ,
42
+ . product( name: " LoggingGitHubActions " , package : " LoggingGitHubActions " )
43
+ ]
31
44
) ,
32
45
. target(
33
46
name: " DCOV " ,
34
47
dependencies: [ ]
35
48
) ,
36
49
. target(
37
50
name: " SwiftDoc " ,
38
- dependencies: [ " SwiftSyntax " , " SwiftSemantics " , " SwiftMarkup " ]
51
+ dependencies: [
52
+ . product( name: " SwiftSyntax " , package : " SwiftSyntax " ) ,
53
+ . product( name: " SwiftSemantics " , package : " SwiftSemantics " ) ,
54
+ . product( name: " SwiftMarkup " , package : " SwiftMarkup " )
55
+ ]
39
56
) ,
40
57
. testTarget(
41
58
name: " SwiftDocTests " ,
42
- dependencies: [ " SwiftDoc " , " SwiftSyntax " , " SwiftSemantics " , " SwiftMarkup " ]
59
+ dependencies: [
60
+ . target( name: " SwiftDoc " ) ,
61
+ . product( name: " SwiftSyntax " , package : " SwiftSyntax " ) ,
62
+ . product( name: " SwiftSemantics " , package : " SwiftSemantics " ) ,
63
+ . product( name: " SwiftMarkup " , package : " SwiftMarkup " )
64
+ ]
43
65
) ,
44
66
]
45
67
)
0 commit comments