Merge pull request #4944 from xplorfin/clang-format-mac
docs: Add clang-format instructions for mac
This commit is contained in:
commit
9614626e2e
@ -204,7 +204,7 @@ or `make rpc` to generate new protobuf definitions.
|
|||||||
## Format .proto files
|
## Format .proto files
|
||||||
|
|
||||||
We use `clang-format` to make sure the `.proto` files are formatted correctly.
|
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
|
Consult [this page](http://releases.llvm.org/download.html) to find binaries
|
||||||
for other operating systems or distributions.
|
for other operating systems or distributions.
|
||||||
|
Loading…
Reference in New Issue
Block a user