mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-24 23:06:41 +00:00
Merge pull request #23 from drewish/contributing
Add a contributing file
This commit is contained in:
commit
9cb187192d
33
CONTRIBUTING.md
Normal file
33
CONTRIBUTING.md
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# Contributing
|
||||||
|
|
||||||
|
Fork, then clone the repo:
|
||||||
|
|
||||||
|
```
|
||||||
|
git clone git@github.com:your-username/swagger_rails.git
|
||||||
|
cd swagger_rails
|
||||||
|
```
|
||||||
|
|
||||||
|
Set up your machine:
|
||||||
|
|
||||||
|
```
|
||||||
|
bundle
|
||||||
|
cd spec/dummy
|
||||||
|
bundle exec rake db:setup
|
||||||
|
cd -
|
||||||
|
```
|
||||||
|
|
||||||
|
Make sure the tests pass:
|
||||||
|
|
||||||
|
```
|
||||||
|
bundle exec rspec
|
||||||
|
```
|
||||||
|
|
||||||
|
Make your change. Add tests for your change. Make the tests pass:
|
||||||
|
|
||||||
|
```
|
||||||
|
bundle exec rspec
|
||||||
|
```
|
||||||
|
|
||||||
|
Push to your fork and [submit a pull request][pr].
|
||||||
|
|
||||||
|
[pr]: https://github.com/domaindrivendev/swagger_rails/compare/
|
||||||
Loading…
Reference in New Issue
Block a user