Sha256: fca3e2e9dccec477a74e90acf0c00ccbbd157b60355d7648fe15f32cc4b182da
Contents?: true
Size: 487 Bytes
Versions: 4
Compression:
Stored size: 487 Bytes
Contents
task :sync_tool, [:from] do |t, from: nil| from ||= (File.identical?(__dir__, "rakelib") ? "../ruby/tool" : File.dirname(__dir__)) require 'fileutils' { "rakelib/sync_tool.rake" => "rakelib", "lib/core_assertions.rb" => "test/lib", "lib/envutil.rb" => "test/lib", "lib/find_executable.rb" => "test/lib", "lib/helper.rb" => "test/lib", }.each do |src, dest| FileUtils.mkpath(dest) FileUtils.cp "#{from}/#{src}", dest rescue Errno::ENOENT end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
uri-1.0.1 | rakelib/sync_tool.rake |
uri-1.0.0 | rakelib/sync_tool.rake |
uri-0.13.1 | rakelib/sync_tool.rake |
uri-0.13.0 | rakelib/sync_tool.rake |