Skip to content

Commit 26c6c43

Browse files
authored
Update instructions for getting swiftformat (#3236)
Travis uses 0.35.7 (tied to macOS 10.13).
1 parent 2ea2e4d commit 26c6c43

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,15 @@ before creating a PR.
9292

9393
Travis will verify that any code changes are done in a style compliant way. Install
9494
`clang-format` and `swiftformat`.
95-
This command will get the right `clang-format` version:
95+
These commands will get the right versions:
9696

97-
`brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/773cb75d360b58f32048f5964038d09825a507c8/Formula/clang-format.rb`
97+
```
98+
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/773cb75d360b58f32048f5964038d09825a507c8/Formula/clang-format.rb
99+
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/3dfea1004e0736754bbf49673cca8aaed8a94089/Formula/swiftformat.rb
100+
```
101+
102+
Note: if you already have a newer version of these installed you may need to
103+
`brew switch` to this version.
98104

99105
### Running Unit Tests
100106

0 commit comments

Comments
 (0)