Sha256: 70e32e5e7e0a10dcd213f7309a76740ad68d0ac3631621d57cffed03341b8ba2

Contents?: true

Size: 446 Bytes

Versions: 6

Compression:

Stored size: 446 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"
require "rake/testtask"

suites = [:vanilla, :activesupport]
suites << :activerecord if RUBY_VERSION >= "2.7"
namespace :test do
  suites.each do |suite|
    Rake::TestTask.new(suite) do |t|
      t.libs << "test/#{suite}"
      t.libs << "lib"
      t.test_files = FileList["test/#{suite}/**/*_test.rb"]
    end
  end
end

task test: suites.map { |s| "test:#{s}" }

task default: :test

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
paquito-0.8.0 Rakefile
paquito-0.7.0 Rakefile
paquito-0.6.2 Rakefile
paquito-0.6.1 Rakefile
paquito-0.6.0 Rakefile
paquito-0.5.0 Rakefile