|
1 |
| -// swift-tools-version:5.3 |
2 |
| -// In order to support users running on the latest Xcodes, please ensure that |
3 |
| -// [email protected] is kept in sync with this file. |
| 1 | +// swift-tools-version:5.5 |
4 | 2 | /*
|
5 | 3 | This source file is part of the Swift.org open source project
|
6 | 4 |
|
7 |
| - Copyright (c) 2021 Apple Inc. and the Swift project authors |
| 5 | + Copyright (c) 2021-2023 Apple Inc. and the Swift project authors |
8 | 6 | Licensed under Apache License v2.0 with Runtime Library Exception
|
9 | 7 |
|
10 | 8 | See https://swift.org/LICENSE.txt for license information
|
@@ -51,9 +49,16 @@ let package = Package(
|
51 | 49 | if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil {
|
52 | 50 | // Building standalone, so fetch all dependencies remotely.
|
53 | 51 | package.dependencies += [
|
54 |
| - .package(url: "https://github.com/apple/swift-cmark.git", .branch("gfm")), |
55 |
| - .package(url: "https://github.com/apple/swift-argument-parser", .upToNextMinor(from: "1.0.1")), |
| 52 | + .package(url: "https://github.com/apple/swift-cmark.git", branch: "gfm"), |
| 53 | + .package(url: "https://github.com/apple/swift-argument-parser", from: "1.2.2"), |
56 | 54 | ]
|
| 55 | + |
| 56 | + // SwiftPM command plugins are only supported by Swift version 5.6 and later. |
| 57 | + #if swift(>=5.6) |
| 58 | + package.dependencies += [ |
| 59 | + .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.1.0"), |
| 60 | + ] |
| 61 | + #endif |
57 | 62 | } else {
|
58 | 63 | // Building in the Swift.org CI system, so rely on local versions of dependencies.
|
59 | 64 | package.dependencies += [
|
|
0 commit comments