Summary: Mention format.sh script in README and CONTRIBUTING docs

Reviewed By: IanChilds

Differential Revision: D3728789

fbshipit-source-id: 1d5d99dc627b6cb87898d282aae8adfcaeec7c14
This commit is contained in:
Emil Sjolander 2016-08-17 06:35:05 -07:00 коммит произвёл Facebook Github Bot 9
Родитель dde2b349f2
Коммит dd2346f8ac
2 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@ -29,9 +29,7 @@ disclosure of security bugs. In those cases, please go through the process
outlined on that page and do not file a public issue. outlined on that page and do not file a public issue.
## Coding Style ## Coding Style
* 2 spaces for indentation rather than tabs * format.sh
* 80 character line length
* ...
## License ## License
By contributing to css-layout, you agree that your contributions will be licensed By contributing to css-layout, you agree that your contributions will be licensed

Просмотреть файл

@ -96,7 +96,7 @@ root.getLayoutHeight();
``` ```
## Contributing ## Contributing
To contribute to CSSLayout you need to first install [buck](https://buckbuild.com) which is the build system used by CSSLayout. CSSLayout is implemented in C with language bindings for Java. When making changes to `CSSLayout/CSSLayout.h` please ensure to update `java/jni/CSSJNI.h` and `java/com/facebook/csslayout/CSSNode.java` to reflect the API change. To contribute to CSSLayout you need to first install [buck](https://buckbuild.com) which is the build system used by CSSLayout. CSSLayout is implemented in C with language bindings for Java. When making changes to `CSSLayout/CSSLayout.h` please ensure to update `java/jni/CSSJNI.h` and `java/com/facebook/csslayout/CSSNode.java` to reflect the API change. Before submitting any code please run `format.sh` to ensure the code matches the project's code style.
Before making any larger changes to CSSLayout please open an issue with a RFC so the changes can be discussed first. Generally we are very open to changes and improvements that will benefit the community. Before making any larger changes to CSSLayout please open an issue with a RFC so the changes can be discussed first. Generally we are very open to changes and improvements that will benefit the community.