Skip to content

Commit 5fc9f35

Browse files
committed
Update swift-tool-version to 5.5
1 parent decbb61 commit 5fc9f35

File tree

2 files changed

+11
-76
lines changed

2 files changed

+11
-76
lines changed

Package.swift

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
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
42
/*
53
This source file is part of the Swift.org open source project
64

7-
Copyright (c) 2021 Apple Inc. and the Swift project authors
5+
Copyright (c) 2021-2023 Apple Inc. and the Swift project authors
86
Licensed under Apache License v2.0 with Runtime Library Exception
97

108
See https://swift.org/LICENSE.txt for license information
@@ -51,9 +49,16 @@ let package = Package(
5149
if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil {
5250
// Building standalone, so fetch all dependencies remotely.
5351
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"),
5654
]
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
5762
} else {
5863
// Building in the Swift.org CI system, so rely on local versions of dependencies.
5964
package.dependencies += [

[email protected]

Lines changed: 0 additions & 70 deletions
This file was deleted.

0 commit comments

Comments
 (0)