From 8e547318f8ec30a0c6e9211b977a485118b7368a Mon Sep 17 00:00:00 2001 From: Tim Condon <0xTim@users.noreply.github.com> Date: Sun, 6 Oct 2024 00:14:45 +0100 Subject: [PATCH 1/2] Update README.md Make the README platform agnostic --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6f08b6ec3..e82387c3f 100644 --- a/README.md +++ b/README.md @@ -63,9 +63,9 @@ For example, if you are using Xcode 13.3 (Swift 5.6), you will need If you are mainly interested in using swift-format (rather than developing it), then you can get it in three different ways: -### Included in Xcode +### Included in the Swift Toolchain -Xcode 16 and above include swift-format in the toolchain. You can run `swift-format` from anywhere on the system using `swift format` (notice the space instead of dash). To find the path at which `swift-format` is installed, run `xcrun --find swift-format`. +Swift 6 (included with Xcode 16) and above include swift-format in the toolchain. You can run `swift-format` from anywhere on the system using `swift format` (notice the space instead of dash). To find the path at which `swift-format` is installed on macOS, run `xcrun --find swift-format`. ### Installing via Homebrew From 69ad8985426ef231b36da11d3997064458d3a9ce Mon Sep 17 00:00:00 2001 From: Tim Condon <0xTim@users.noreply.github.com> Date: Tue, 8 Oct 2024 16:26:47 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e82387c3f..db2e090a9 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ then you can get it in three different ways: ### Included in the Swift Toolchain -Swift 6 (included with Xcode 16) and above include swift-format in the toolchain. You can run `swift-format` from anywhere on the system using `swift format` (notice the space instead of dash). To find the path at which `swift-format` is installed on macOS, run `xcrun --find swift-format`. +Swift 6 (included with Xcode 16) and above include swift-format in the toolchain. You can run `swift-format` from anywhere on the system using `swift format` (notice the space instead of dash). To find the path at which `swift-format` is installed in Xcode, run `xcrun --find swift-format`. ### Installing via Homebrew