diff --git a/.template/addons/github/.github/wiki/Testing.md b/.template/addons/github/.github/wiki/Testing.md new file mode 100644 index 00000000..ff939ded --- /dev/null +++ b/.template/addons/github/.github/wiki/Testing.md @@ -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 +``` diff --git a/README.md b/README.md index 8b2a500e..b86c8833 100644 --- a/README.md +++ b/README.md @@ -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