Sha256: ee8b46ed30e54719a71a2ebded1559d81f638d61e52545242d9acb663355154d

Contents?: true

Size: 483 Bytes

Versions: 18

Compression:

Stored size: 483 Bytes

Contents

#!/usr/bin/env rake
require "bundler/gem_tasks"
require "rake/testtask"

desc 'Run tests'
test_task = Rake::TestTask.new(:test) do |t|
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end

task default: :test

desc 'Run tests in isolated processes'
namespace :test do
  task :isolated do
    Dir[test_task.pattern].each do |file|
      cmd = ['ruby']
      test_task.libs.each { |l| cmd << '-I' << l }
      cmd << file
      sh cmd.join(' ')
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
jsonapi-resources-0.1.1 Rakefile
jsonapi-resources-0.1.0 Rakefile
jsonapi-resources-0.0.16 Rakefile
jsonapi-resources-0.0.15 Rakefile
jsonapi-resources-0.0.14 Rakefile
jsonapi-resources-0.0.13 Rakefile
jsonapi-resources-0.0.12 Rakefile
jsonapi-resources-0.0.11 Rakefile
jsonapi-resources-0.0.10 Rakefile
jsonapi-resources-0.0.9 Rakefile
jsonapi-resources-0.0.8 Rakefile
jsonapi-resources-0.0.7 Rakefile
jsonapi-resources-0.0.6 Rakefile
jsonapi-resources-0.0.5 Rakefile
jsonapi-resources-0.0.4 Rakefile
jsonapi-resources-0.0.3 Rakefile
jsonapi-resources-0.0.2 Rakefile
jsonapi-resources-0.0.1 Rakefile