Merge pull request #4944 from xplorfin/clang-format-mac

docs: Add clang-format instructions for mac
This commit is contained in:
Olaoluwa Osuntokun 2021-01-27 17:00:53 -08:00 committed by GitHub
commit 9614626e2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -204,7 +204,7 @@ or `make rpc` to generate new protobuf definitions.
## Format .proto files
We use `clang-format` to make sure the `.proto` files are formatted correctly.
You can install the formatter on Ubuntu by running `apt install clang-format`.
You can install the formatter on Ubuntu by running `apt install clang-format` or on Mac by running `brew install clang-format`.
Consult [this page](http://releases.llvm.org/download.html) to find binaries
for other operating systems or distributions.