Special:Version: Use addModuleStyles to load mediawiki.special.version
[lhc/web/wiklou.git] / Rakefile
1 require 'bundler/setup'
2
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']
9 end
10
11 task default: [:test]
12
13 desc 'Run all build/tests commands (CI entry point)'
14 task test: [:rubocop]