diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-10-23 17:27:46 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-10-23 17:28:50 +0900 |
commit | df5bf5bb591af2d5382fb7746489bfd1d4b7df81 (patch) | |
tree | 31ac21b64368d34f1b9e380116f72dbfeec0aa3d /tool | |
parent | 9844371c6f2243a5edddbc01204321034e21ba04 (diff) | |
download | ruby-df5bf5bb591af2d5382fb7746489bfd1d4b7df81.tar.gz |
Removed unnecessary libraries of sync_tool
Diffstat (limited to 'tool')
-rw-r--r-- | tool/lib/helper.rb | 4 | ||||
-rw-r--r-- | tool/rakelib/sync_tool.rake | 17 |
2 files changed, 0 insertions, 21 deletions
diff --git a/tool/lib/helper.rb b/tool/lib/helper.rb deleted file mode 100644 index 909f8f98af..0000000000 --- a/tool/lib/helper.rb +++ /dev/null @@ -1,4 +0,0 @@ -require "test/unit" -require_relative "core_assertions" - -Test::Unit::TestCase.include Test::Unit::CoreAssertions diff --git a/tool/rakelib/sync_tool.rake b/tool/rakelib/sync_tool.rake deleted file mode 100644 index 8ea8cb0ad2..0000000000 --- a/tool/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 |