1 | # Contributing
|
2 |
|
3 | We love contributions from everyone.
|
4 | By participating in this project,
|
5 | you agree to abide by our [code_of_conduct].
|
6 |
|
7 | We expect everyone to follow the code of conduct
|
8 | anywhere in Razorpay's project codebases,
|
9 | issue trackers, chatrooms, and mailing lists.
|
10 |
|
11 | ## Contributing Code
|
12 |
|
13 | Checkout the latest master to make sure the feature hasn't been implemented or
|
14 | the bug hasn't been fixed yet.
|
15 |
|
16 | Check the issue tracker to make sure someone already hasn't requested it and/or
|
17 | contributed to it.
|
18 |
|
19 | Fork the repo.
|
20 |
|
21 | 1. Use the example project to test the module.
|
22 | 2. Delete the `postinstall` step from `package.json`. Remember to revert this
|
23 | change when commiting.
|
24 | 3. Edit example/reload.sh to configure your path.
|
25 | 4. Follow instructions to link your project with the iOS SDK, as given in the [README].
|
26 | 5. Run example/reload.sh every time you make a change to the module.
|
27 |
|
28 | Make your change. Follow this [style guide][style].
|
29 |
|
30 | Push to your fork. Write a [good commit message][commit]. Submit a pull request.
|
31 |
|
32 | Others will give constructive feedback.
|
33 | This is a time for discussion and improvements,
|
34 | and making the necessary changes will be required before we can
|
35 | merge the contribution.
|
36 |
|
37 | [code_of_conduct]: code_of_conduct.md "Code of Conduct"
|
38 | [commit]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html "A short guide on how to write good commit messages"
|
39 | [README]: README.md#linking-ios-sdk "Linking to the iOS SDK"
|
40 | [style]: https://github.com/thoughtbot/guides/tree/master/style "Styleguides by Thoughtbot"
|