Skip to content

Commit

Permalink
[#322] Extract template testing instructions from readme to wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
mosharaf13 committed Jul 10, 2023
1 parent f6a068e commit 9773ad4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
16 changes: 16 additions & 0 deletions .template/addons/github/.github/wiki/Testing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## Testing the Template

To run [RuboCop](https://github.com/rubocop/rubocop) against the template:


```sh
.template/bin/rubocop
```

Any RuboCop command options can be passed:


```sh
# Run Ru`boCop with auto correct
.template/bin/rubocop -a
```
15 changes: 1 addition & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,7 @@ Read more about Rails Application Template in the [official Rails Guides](https:

See the contribution guidelines in the [Wiki](../../wiki/Contribution_Guide).

## Testing the Template

To run [RuboCop](https://github.com/rubocop/rubocop) against the template:

```sh
.template/bin/rubocop
```

Any RuboCop command options can be passed:

```sh
# Run RuboCop with auto correct
.template/bin/rubocop -a
```
See instructions for testing the template in [Wiki](../../wiki/Testing).

## License

Expand Down

0 comments on commit 9773ad4

Please sign in to comment.