Skip to content

Commit

Permalink
Move sync_tool to rakelib
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Aug 15, 2022
1 parent dff37b3 commit a698306
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,4 @@ file "ext/date/zonetab.h" => "ext/date/zonetab.list" do |t|
hdr, chdir: dir)
end

task :sync_tool do
require 'fileutils'
FileUtils.cp "../ruby/tool/lib/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 => [:compile, :test]
6 changes: 6 additions & 0 deletions rakelib/sync_tool.rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
task :sync_tool do
require 'fileutils'
FileUtils.cp "../ruby/tool/lib/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

0 comments on commit a698306

Please sign in to comment.