Skip to content

Commit 4de0583

Browse files
authored
Bump Swift version to 5.2 (#85)
* Migrate to the Swift 5.2 package manifest format * Also includes a dependency update, bumping Plot to version 0.8.0. * README: Bump Swift version to 5.2 and add section about system requirements
1 parent efbfd49 commit 4de0583

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.1
1+
// swift-tools-version:5.2
22

33
/**
44
* Publish
@@ -15,12 +15,12 @@ let package = Package(
1515
.executable(name: "publish-cli", targets: ["PublishCLI"])
1616
],
1717
dependencies: [
18-
.package(url: "https://github.com/johnsundell/ink.git", from: "0.2.0"),
19-
.package(url: "https://github.com/johnsundell/plot.git", from: "0.4.0"),
20-
.package(url: "https://github.com/johnsundell/files.git", from: "4.0.0"),
21-
.package(url: "https://github.com/johnsundell/codextended.git", from: "0.1.0"),
22-
.package(url: "https://github.com/johnsundell/shellout.git", from: "2.3.0"),
23-
.package(url: "https://github.com/johnsundell/sweep.git", from: "0.4.0")
18+
.package(name: "Ink", url: "https://github.com/johnsundell/ink.git", from: "0.2.0"),
19+
.package(name: "Plot", url: "https://github.com/johnsundell/plot.git", from: "0.4.0"),
20+
.package(name: "Files", url: "https://github.com/johnsundell/files.git", from: "4.0.0"),
21+
.package(name: "Codextended", url: "https://github.com/johnsundell/codextended.git", from: "0.1.0"),
22+
.package(name: "ShellOut", url: "https://github.com/johnsundell/shellout.git", from: "2.3.0"),
23+
.package(name: "Sweep", url: "https://github.com/johnsundell/sweep.git", from: "0.4.0")
2424
],
2525
targets: [
2626
.target(

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</p>
44

55
<p align="center">
6-
<img src="https://img.shields.io/badge/Swift-5.1-orange.svg" />
6+
<img src="https://img.shields.io/badge/Swift-5.2-orange.svg" />
77
<a href="https://swift.org/package-manager">
88
<img src="https://img.shields.io/badge/swiftpm-compatible-brightgreen.svg?style=flat" alt="Swift Package Manager" />
99
</a>
@@ -228,6 +228,12 @@ try DeliciousRecipes().publish(using: [
228228

229229
For a real-world example of a Publish plugin, check out the [official Splash plugin](https://github.com/johnsundell/splashpublishplugin), which makes it really easy to integrate the [Splash syntax highlighter](https://github.com/johnsundell/splash) with Publish.
230230

231+
## System requirements
232+
233+
To be able to successfully use Publish, make sure that your system has Swift version 5.2 (or later) installed. If you’re using a Mac, also make sure that `xcode-select` is pointed at an Xcode installation that includes the required version of Swift, and that you’re running macOS Catalina (10.15) or later.
234+
235+
Please note that Publish **does not** officially support any form of beta software, including beta versions of Xcode and macOS, or unreleased versions of Swift.
236+
231237
## Installation
232238

233239
Publish is distributed using the [Swift Package Manager](https://swift.org/package-manager). To install it into a project, add it as a dependency within your `Package.swift` manifest:

0 commit comments

Comments
 (0)