8000 Test with Swift 5.3 on Linux by MaxDesiatov · Pull Request #183 · SwiftDocOrg/swift-doc · GitHub
[go: up one dir, main page]

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

Test with Swift 5.3 on Linux #183

Merged
merged 7 commits into from
Sep 24, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add package manifests for Swift 5.2 and 5.3
  • Loading branch information
mattt committed Sep 24, 2020
commit d1be8add43891e9ccb13503710ca6443c29447cc
36 changes: 29 additions & 7 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.1
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand All @@ -10,36 +10,58 @@ let package = Package(
.library(name: "SwiftDoc", targets: ["SwiftDoc"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-syntax.git", .revision("0.50200.0")),
.package(name: "SwiftSyntax", url: "https://github.com/apple/swift-syntax.git", .revision("0.50300.0")),
.package(url: "https://github.com/SwiftDocOrg/SwiftSemantics.git", .upToNextMinor(from: "0.1.0")),
.package(url: "https://github.com/SwiftDocOrg/CommonMark.git", .upToNextMinor(from: "0.4.0")),
.package(url: "https://github.com/SwiftDocOrg/SwiftMarkup.git", .upToNextMinor(from: "0.2.1")),
.package(url: "https://github.com/SwiftDocOrg/GraphViz.git", .upToNextMinor(from: "0.1.2")),
.package(url: "https://github.com/NSHipster/HypertextLiteral.git", .upToNextMinor(from: "0.0.2")),
.package(url: "https://github.com/SwiftDocOrg/Markup.git", .upToNextMinor(from: "0.0.3")),
.package(url: "https://github.com/NSHipster/SwiftSyntaxHighlighter.git", .revision("1.0.0")),
.package(url: "https://github.com/NSHipster/SwiftSyntaxHighlighter.git", .revision("1.1.0")),
.package(url: "https://github.com/apple/swift-argument-parser.git", .upToNextMinor(from: "0.0.6")),
.package(url: "https://github.com/apple/swift-log.git", .upToNextMinor(from: "1.2.0")),
.package(url: "https://github.com/NSHipster/swift-log-github-actions.git", .upToNextMinor(from: "0.0.1")),
.package(name: "LoggingGitHubActions", url: "https://github.com/NSHipster/swift-log-github-actions.git", .upToNextMinor(from: "0.0.1")),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "swift-doc",
dependencies: ["ArgumentParser", "SwiftDoc", "SwiftSemantics", "SwiftMarkup", "CommonMarkBuilder", "HypertextLiteral", "Markup", "DCOV", "GraphViz", "SwiftSyntaxHighlighter", "Logging", "LoggingGitHubActions"]
dependencies: [
.target(name: "SwiftDoc"),
.target(name: "DCOV"),
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "SwiftSemantics", package: "SwiftSemantics"),
.product(name: "SwiftMarkup", package: "SwiftMarkup"),
.product(name: "CommonMarkBuilder", package: "CommonMark"),
.product(name: "HypertextLiteral", package: "HypertextLiteral"),
.product(name: "Markup", package: "Markup"),
.product(name: "GraphViz", package: "GraphViz"),
.product(name: "SwiftSyntaxHighlighter", package: "SwiftSyntaxHighlighter"),
.product(name: "Logging", package: "swift-log"),
.product(name: "LoggingGitHubActions", package: "LoggingGitHubActions")
]
),
.target(
name: "DCOV",
dependencies: []
),
.target(
name: "SwiftDoc",
dependencies: ["SwiftSyntax", "SwiftSemantics", "SwiftMarkup"]
dependencies: [
.product(name: "SwiftSyntax", package: "SwiftSyntax"),
.product(name: "SwiftSemantics", package: "SwiftSemantics"),
.product(name: "SwiftMarkup", package: "SwiftMarkup")
]
),
.testTarget(
name: "SwiftDocTests",
dependencies: ["SwiftDoc", "SwiftSyntax", "SwiftSemantics", "SwiftMarkup"]
dependencies: [
.target(name: "SwiftDoc"),
.product(name: "SwiftSyntax", package: "SwiftSyntax"),
.product(name: "SwiftSemantics", package: "SwiftSemantics"),
.product(name: "SwiftMarkup", package: "SwiftMarkup")
]
),
]
)
45 changes: 45 additions & 0 deletions Package@swift-5.2.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
// swift-tools-version:5.1
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "swift-doc",
products: [
.executable(name: "swift-doc", targets: ["swift-doc"]),
.library(name: "SwiftDoc", targets: ["SwiftDoc"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-syntax.git", .revision("0.50200.0")),
.package(url: "https://github.com/SwiftDocOrg/SwiftSemantics.git", .upToNextMinor(from: "0.1.0")),
.package(url: "https://github.com/SwiftDocOrg/CommonMark.git", .upToNextMinor(from: "0.4.0")),
.package(url: "https://github.com/SwiftDocOrg/SwiftMarkup.git", .upToNextMinor(from: "0.2.1")),
.package(url: "https://github.com/SwiftDocOrg/GraphViz.git", .upToNextMinor(from: "0.1.2")),
.package(url: "https://github.com/NSHipster/HypertextLiteral.git", .upToNextMinor(from: "0.0.2")),
.package(url: "https://github.com/SwiftDocOrg/Markup.git", .upToNextMinor(from: "0.0.3")),
.package(url: "https://github.com/NSHipster/SwiftSyntaxHighlighter.git", .revision("1.0.0")),
.package(url: "https://github.com/apple/swift-argument-parser.git", .upToNextMinor(from: "0.0.6")),
.package(url: "https://github.com/apple/swift-log.git", .upToNextMinor(from: "1.2.0")),
.package(url: "https://github.com/NSHipster/swift-log-github-actions.git", .upToNextMinor(from: "0.0.1")),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "swift-doc",
dependencies: ["ArgumentParser", "SwiftDoc", "SwiftSemantics", "SwiftMarkup", "CommonMarkBuilder", "HypertextLiteral", "Markup", "DCOV", "GraphViz", "SwiftSyntaxHighlighter", "Logging", "LoggingGitHubActions"]
),
.target(
name: "DCOV",
dependencies: []
),
.target(
name: "SwiftDoc",
dependencies: ["SwiftSyntax", "SwiftSemantics", "SwiftMarkup"]
),
.testTarget(
name: "SwiftDocTests",
dependencies: ["SwiftDoc", "SwiftSyntax", "SwiftSemantics", "SwiftMarkup"]
),
]
)
0