mirror of
https://github.com/thoughtbot/factory_bot_rails.git
synced 2022-11-09 11:49:18 -05:00
4defe4c666
Move manual Appraisal tasks into bin/setup.
36 lines
947 B
Markdown
36 lines
947 B
Markdown
# Contributing
|
|
|
|
We love pull requests. Here's a quick guide.
|
|
|
|
Fork, then clone the repo:
|
|
|
|
git clone git@github.com:your-username/factory_girl_rails.git
|
|
|
|
Set up your machine:
|
|
|
|
./bin/setup
|
|
|
|
Make sure the tests pass:
|
|
|
|
rake
|
|
|
|
Make your change. Add tests for your change. Make the tests pass:
|
|
|
|
rake
|
|
|
|
Push to your fork and [submit a pull request][pr].
|
|
|
|
[pr]: https://github.com/thoughtbot/factory_girl_rails/compare/
|
|
|
|
At this point you're waiting on us. We like to at least comment on pull requests
|
|
within three business days (and, typically, one business day). We may suggest
|
|
some changes or improvements or alternatives.
|
|
|
|
Some things that will increase the chance that your pull request is accepted:
|
|
|
|
* Write tests.
|
|
* Follow our [style guide][style].
|
|
* Write a [good commit message][commit].
|
|
|
|
[style]: https://github.com/thoughtbot/guides/tree/master/style
|
|
[commit]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
|