diff options
Diffstat (limited to 'rakelib/sync_tool.rake')
-rw-r--r-- | rakelib/sync_tool.rake | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/rakelib/sync_tool.rake b/rakelib/sync_tool.rake deleted file mode 100644 index 8ea8cb0ad2..0000000000 --- a/rakelib/sync_tool.rake +++ /dev/null @@ -1,17 +0,0 @@ -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 |