Skip to content

Commit a698306

Browse files
committed
Move sync_tool to rakelib
1 parent dff37b3 commit a698306

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

Rakefile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,4 @@ file "ext/date/zonetab.h" => "ext/date/zonetab.list" do |t|
2727
hdr, chdir: dir)
2828
end
2929

30-
task :sync_tool do
31-
require 'fileutils'
32-
FileUtils.cp "../ruby/tool/lib/core_assertions.rb", "./test/lib"
33-
FileUtils.cp "../ruby/tool/lib/envutil.rb", "./test/lib"
34-
FileUtils.cp "../ruby/tool/lib/find_executable.rb", "./test/lib"
35-
end
36-
3730
task :default => [:compile, :test]

rakelib/sync_tool.rake

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
task :sync_tool do
2+
require 'fileutils'
3+
FileUtils.cp "../ruby/tool/lib/core_assertions.rb", "./test/lib"
4+
FileUtils.cp "../ruby/tool/lib/envutil.rb", "./test/lib"
5+
FileUtils.cp "../ruby/tool/lib/find_executable.rb", "./test/lib"
6+
end

0 commit comments

Comments
 (0)