-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add contributing guide and update readme
- Loading branch information
Showing
2 changed files
with
54 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Contributing Guide | ||
|
||
## Local Setup | ||
|
||
### Prerequisites | ||
|
||
- Bash ([^5.0](https://www.gnu.org/software/bash/)) | ||
- Ruby ([`.ruby-version`](.ruby-version)) | ||
|
||
### Setup | ||
|
||
Clone this repository and run the setup script: | ||
|
||
```sh | ||
git clone https://github.com/renuo/hotsheet.git | ||
cd hotsheet | ||
bin/setup | ||
``` | ||
|
||
### Run | ||
|
||
- `spec/dummy/bin/run`: Start the dummy app's Rails server | ||
|
||
### Lint | ||
|
||
- `bin/fastcheck`: Run all linters | ||
- `bin/fastcheck -A`: Format the code with RuboCop | ||
|
||
### Test | ||
|
||
- `bin/check`: Run specs for **all** supported Rails versions | ||
- `bin/check rails_8_0`: Run specs for a **specific** Rails versions | ||
defined in [Appraisals](Appraisals) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters