Sha256: ddc7806b9d6a62d2048a496625edc80d5465b85d4eb7b64a5ff1356b97a4c693

Contents?: true

Size: 648 Bytes

Versions: 4

Compression:

Stored size: 648 Bytes

Contents

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
  t.ruby_opts = %w[-rubygems]
end

require "rubocop/rake_task"
desc "Run rubocop"
task :rubocop do
  RuboCop::RakeTask.new
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: [:test, :rubocop]

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
browser-2.5.2 Rakefile
browser-2.5.1 Rakefile
browser-2.5.0 Rakefile
browser-2.4.0 Rakefile