]> scripts.mit.edu Git - autoinstalls/mediawiki.git/blob - extensions/PdfHandler/Rakefile
MediaWiki 1.30.2
[autoinstalls/mediawiki.git] / extensions / PdfHandler / 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
7   # directory where `bundle exec rake` is executed:
8   task.options = ['-c', '.rubocop.yml']
9 end
10
11 require 'mediawiki_selenium/rake_task'
12 MediawikiSelenium::RakeTask.new
13
14 task default: [:test]
15
16 desc 'Run all build/tests commands (CI entry point)'
17 task test: [:rubocop]