1- // swift-tools-version:5.1
1+ // swift-tools-version:5.3
22// The swift-tools-version declares the minimum version of Swift required to build this package.
33
44import PackageDescription
@@ -10,36 +10,58 @@ let package = Package(
1010 . library( name: " SwiftDoc " , targets: [ " SwiftDoc " ] )
1111 ] ,
1212 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 " ) ) ,
1414 . package ( url: " https://github.com/SwiftDocOrg/SwiftSemantics.git " , . upToNextMinor( from: " 0.1.0 " ) ) ,
1515 . package ( url: " https://github.com/SwiftDocOrg/CommonMark.git " , . upToNextMinor( from: " 0.4.0 " ) ) ,
1616 . package ( url: " https://github.com/SwiftDocOrg/SwiftMarkup.git " , . upToNextMinor( from: " 0.2.1 " ) ) ,
1717 . package ( url: " https://github.com/SwiftDocOrg/GraphViz.git " , . upToNextMinor( from: " 0.1.2 " ) ) ,
1818 . package ( url: " https://github.com/NSHipster/HypertextLiteral.git " , . upToNextMinor( from: " 0.0.2 " ) ) ,
1919 . 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 " ) ) ,
2121 . package ( url: " https://github.com/apple/swift-argument-parser.git " , . upToNextMinor( from: " 0.0.6 " ) ) ,
2222 . 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 " ) ) ,
2424 ] ,
2525 targets: [
2626 // Targets are the basic building blocks of a package. A target can define a module or a test suite.
2727 // Targets can depend on other targets in this package, and on products in packages which this package depends on.
2828 . target(
2929 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+ ]
3144 ) ,
3245 . target(
3346 name: " DCOV " ,
3447 dependencies: [ ]
3548 ) ,
3649 . target(
3750 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+ ]
3956 ) ,
4057 . testTarget(
4158 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+ ]
4365 ) ,
4466 ]
4567)
0 commit comments