From c1b7e50fa5eecfbd31e611f0c2b728a271582103 Mon Sep 17 00:00:00 2001 From: Bee Klimt Date: Tue, 17 Sep 2024 16:06:40 -0700 Subject: [PATCH] update instructions for swift-format --- DEVELOPING.md | 9 +-------- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/DEVELOPING.md b/DEVELOPING.md index 3f73e56..5cfc84a 100644 --- a/DEVELOPING.md +++ b/DEVELOPING.md @@ -4,7 +4,7 @@ **Required:** -- Xcode (from the [Mac App Store](https://apps.apple.com/us/app/xcode/id497799835)) +- Xcode 16.0 or later (from the [Mac App Store](https://apps.apple.com/us/app/xcode/id497799835)) Development and unit tests are done within Xcode. However, there is also a smoke-test, which must be run using the included Makefile. @@ -28,13 +28,6 @@ To install the Xcode Command Line Tools, first install and run Xcode. Then run: xcode-select --install ``` -If you are on Xcode 16.0 or later, `swift-format` is pre-installed. But if you are on an earlier -version, you can install it manually with brew. - -```sh -brew install swift-format -``` - Install `bats-core` and `jq` for local testing: ```sh diff --git a/Makefile b/Makefile index b29857b..b6bafba 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ lint: - swift-format lint --strict --recursive . + swift format lint --strict --recursive . format: - swift-format format --in-place --recursive . + swift format format --in-place --recursive . #: cleans up smoke test output clean-smoke-tests: