Skip to content

Commit 70ee457

Browse files
authored
Add clang-format installation instructions (#2057)
1 parent afa6619 commit 70ee457

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,14 @@ Firestore and Functions have self contained Xcode projects. See
8484
[Firestore/README.md](Firestore/README.md) and
8585
[Functions/README.md](Functions/README.md).
8686

87+
### Code Formatting
88+
89+
Travis will verify that any code changes are done in a style compliant way. Install
90+
`clang-format` and `swiftformat`.
91+
This command will get the right `clang-format` version:
92+
93+
`brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/0743d748ba8b41eec074a0a787dc80219142c525/Formula/clang-format.rb`
94+
8795
### Running Unit Tests
8896

8997
Select a scheme and press Command-u to build a component and run its unit tests.

0 commit comments

Comments
 (0)