Sha256: 1a1ccd404db3071a37411d0d808a6a0cb2d7ade53029223dcaf00e193af3ad27

Contents?: true

Size: 514 Bytes

Versions: 1

Compression:

Stored size: 514 Bytes

Contents

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

JRuby.objectspace = true if RUBY_PLATFORM == 'java'

Rake::TestTask.new(:test) do |t|
  t.libs << "test/lib"
  t.ruby_opts << "-rhelper"
  t.test_files = FileList["test/**/test_*.rb"]
end

task :sync_tool do
  require 'fileutils'
  FileUtils.cp "../ruby/tool/lib/test/unit/core_assertions.rb", "./test/lib"
  FileUtils.cp "../ruby/tool/lib/envutil.rb", "./test/lib"
  FileUtils.cp "../ruby/tool/lib/find_executable.rb", "./test/lib"
end

task :default => :test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fileutils-1.5.0 Rakefile