Sha256: ed9a44a787fd62cb885f01477a1da87a25b7c9d6b82a95174ece64962215aa68

Contents?: true

Size: 785 Bytes

Versions: 15

Compression:

Stored size: 785 Bytes

Contents

# frozen_string_literal: true

require "bundler"
require "bundler/setup"
Bundler::GemHelper.install_tasks

require "rake/testtask"
Rake::TestTask.new(:test) do |t|
  t.libs << "lib"
  t.libs << "test"
  t.test_files = FileList["test/**/*_test.rb"]
  t.verbose = true
  t.warning = false
end

require "rubocop/rake_task"
desc "Run rubocop"
task :rubocop do
  RuboCop::RakeTask.new do |t|
    t.options += %w[
      --display-style-guide
      --display-cop-names
      --extra-details
      --auto-correct
    ]
  end
end

desc "Run specs against all gemfiles"
task "test:all" do
  %w[
    Gemfile
    gemfiles/rails4.gemfile
  ].each do |gemfile|
    puts "=> Running with Gemfile: #{gemfile}"
    system "BUNDLE_GEMFILE=#{gemfile} rake test"
  end
end

task default: %i[test rubocop]

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
browser-6.2.0 Rakefile
browser-6.1.0 Rakefile
browser-6.0.0 Rakefile
browser-5.3.1 Rakefile
browser-5.3.0 Rakefile
browser-5.2.0 Rakefile
browser-5.1.0 Rakefile
browser-5.0.0 Rakefile
browser-4.2.0 Rakefile
browser-4.1.0 Rakefile
browser-4.0.0 Rakefile
browser-3.0.3 Rakefile
browser-3.0.2 Rakefile
browser-3.0.1 Rakefile
browser-3.0.0 Rakefile