Sha256: 8595a713d971931e64705ca2d90c54c6ff23b1b251fd0094278b19b8494833b7

Contents?: true

Size: 521 Bytes

Versions: 6

Compression:

Stored size: 521 Bytes

Contents

#!/usr/bin/env rake

require 'bundler/gem_tasks'
require 'rake/testtask'

Rake::TestTask.new('test:unit') do |test|
  test.pattern = 'test/unit/*_test.rb'
  test.libs << 'lib' << 'test'
end

Rake::TestTask.new('test:acceptance') do |test|
  test.pattern = 'test/acceptance/*_test.rb'
  test.libs << 'lib' << 'test'
end

if (ENV['HOME'] =~ /travis/ || ENV['BUNDLE_GEMFILE'] =~ /travis/) && RUBY_ENGINE =~ /jruby/
  task :test => %w(test:unit)
else
  task :test => %w(test:unit test:acceptance)
end

task :default => :test

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
m2r-2.1.0 Rakefile
m2r-2.1.0.pre Rakefile
m2r-2.0.2 Rakefile
m2r-2.0.1 Rakefile
m2r-2.0.0 Rakefile
m2r-1.0.0 Rakefile