Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(swift): update for new swift format #8

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading