Commit graph

2 commits

Author SHA1 Message Date
Henne Vogelsang
3f07a8e68c
Only define rubocop tasks in the dev env
This broke loading the rake tasks in the production environment as we only have
rubocop in development.
2019-05-07 15:43:25 +02:00
Ana María Martínez Gómez
e31d848e75
Add rake tasks for Rubocop
To always run rubocop with the same options (specially important when
regenerating the todo file).

It creates the following three tasks:

rake rubocop                     # Run RuboCop on the whole project
rake rubocop:auto_correct        # Auto-correct RuboCop offenses
rake rubocop:auto_gen_config     # Generate .rubocop_todo.yml
2019-04-29 16:34:49 +02:00