Skip to content

Commit

Permalink
Bump Swift version to 5.2 (#85)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
JohnSundell authored May 12, 2020
1 parent efbfd49 commit 4de0583
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"repositoryURL": "https://github.com/johnsundell/plot.git",
"state": {
"branch": null,
"revision": "6dcfc1f246eabf6ea470202244115f73b75c72c4",
"version": "0.6.0"
"revision": "61e828949ca6f84071bde65c8fc046cf74b7d1a2",
"version": "0.8.0"
}
},
{
Expand Down
14 changes: 7 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.2

/**
* Publish
Expand All @@ -15,12 +15,12 @@ let package = Package(
.executable(name: "publish-cli", targets: ["PublishCLI"])
],
dependencies: [
.package(url: "https://github.com/johnsundell/ink.git", from: "0.2.0"),
.package(url: "https://github.com/johnsundell/plot.git", from: "0.4.0"),
.package(url: "https://github.com/johnsundell/files.git", from: "4.0.0"),
.package(url: "https://github.com/johnsundell/codextended.git", from: "0.1.0"),
.package(url: "https://github.com/johnsundell/shellout.git", from: "2.3.0"),
.package(url: "https://github.com/johnsundell/sweep.git", from: "0.4.0")
.package(name: "Ink", url: "https://github.com/johnsundell/ink.git", from: "0.2.0"),
.package(name: "Plot", url: "https://github.com/johnsundell/plot.git", from: "0.4.0"),
.package(name: "Files", url: "https://github.com/johnsundell/files.git", from: "4.0.0"),
.package(name: "Codextended", url: "https://github.com/johnsundell/codextended.git", from: "0.1.0"),
.package(name: "ShellOut", url: "https://github.com/johnsundell/shellout.git", from: "2.3.0"),
.package(name: "Sweep", url: "https://github.com/johnsundell/sweep.git", from: "0.4.0")
],
targets: [
.target(
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</p>

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

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.

## System requirements

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.

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.

## Installation

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:
Expand Down

0 comments on commit 4de0583

Please sign in to comment.