Skip to content

Commit

Permalink
update instructions for swift-format
Browse files Browse the repository at this point in the history
  • Loading branch information
beekhc committed Sep 17, 2024
1 parent 74af9d0 commit c1b7e50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
9 changes: 1 addition & 8 deletions DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit c1b7e50

Please sign in to comment.