Added 'Code style' section to CONTRIBUTING.md (#627)

* Added 'Code style' section to CONTRIBUTING.md
This commit is contained in:
Wojciech Bober
2016-09-20 09:38:24 -07:00
committed by Jonathan Hui
parent de579eef1c
commit 9c292e01b2
+9
View File
@@ -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