1 require 'bundler/setup'
3 require 'rubocop/rake_task'
4 RuboCop::RakeTask.new(:rubocop) do |task|
5 # if you use mediawiki-vagrant, rubocop will by default use it's .rubocop.yml
6 # the next line makes it explicit that you want .rubocop.yml from the directory
7 # where `bundle exec rake` is executed
8 task.options = ['-c', '.rubocop.yml']
13 desc 'Run all build/tests commands (CI entry point)'