mirror of
https://github.com/espressif/openthread.git
synced 2026-08-31 22:39:54 +00:00
Added 'Code style' section to CONTRIBUTING.md (#627)
* Added 'Code style' section to CONTRIBUTING.md
This commit is contained in:
committed by
Jonathan Hui
parent
de579eef1c
commit
9c292e01b2
@@ -20,6 +20,15 @@ frustration later on.
|
||||
All submissions, including submissions by project members, require review. We
|
||||
use Github pull requests for this purpose.
|
||||
|
||||
### Code style
|
||||
Before submitting a pull request make sure to run:
|
||||
|
||||
make pretty
|
||||
|
||||
This will format the source code according to the OpenThread code style. This
|
||||
command requires the `astyle` tool. Please refer to your operating system
|
||||
documentation to find information on how to install `astyle`.
|
||||
|
||||
### The small print
|
||||
Contributions made by corporations are covered by a different agreement than
|
||||
the one above, the
|
||||
|
||||
Reference in New Issue
Block a user