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
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update swift-syntax dependency for Swift 5.3 * Update swift-argument-parser dependency to 0.3.1 * Update swift-log dependency to 1.4.0 * Update macOS platform target to 10.12 * Update to swift-tools-version:5.3 * Update CI workflow for macOS Big Sur and Swift 5.3 * Update Requirements section in README * Add changelog entry for #29
- Loading branch information
Showing
6 changed files
with
100 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,53 @@ | ||
// swift-tools-version:5.1 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
// swift-tools-version:5.3 | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "DocTest", | ||
platforms: [ | ||
.macOS(.v10_10) | ||
.macOS(.v10_12) | ||
], | ||
products: [ | ||
.executable(name: "swift-doctest", targets: ["swift-doctest"]), | ||
.library(name: "DocTest", targets: ["DocTest"]) | ||
], | ||
dependencies: [ | ||
// Dependencies declare other packages that this package depends on. | ||
.package(url: "https://github.com/apple/swift-syntax.git", .revision("0.50200.0")), | ||
.package(url: "https://github.com/apple/swift-argument-parser.git", .upToNextMinor(from: "0.0.4")), | ||
.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.2.0")), | ||
.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: [ | ||
// 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-doctest", | ||
dependencies: ["DocTest", "StringLocationConverter", "ArgumentParser", "Logging"]), | ||
dependencies: [ | ||
.target(name: "DocTest"), | ||
.product(name: "StringLocationConverter", package: "StringLocationConverter"), | ||
.product(name: "ArgumentParser", package: "swift-argument-parser"), | ||
.product(name: "Logging", package: "swift-log"), | ||
]), | ||
.target( | ||
name: "DocTest", | ||
dependencies: ["SwiftSyntax", "TAP"]), | ||
dependencies: [ | ||
.product(name: "SwiftSyntax", package: "SwiftSyntax"), | ||
.product(name: "TAP", package: "TAP"), | ||
]), | ||
.testTarget( | ||
name: "DocTestTests", | ||
dependencies: ["DocTest"]), | ||
dependencies: [ | ||
.target(name: "DocTest"), | ||
]), | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters