From a6983063bf319807966f58aea41e88a8ee90982b Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 24 Nov 2021 18:20:33 +0900 Subject: [PATCH] Move sync_tool to rakelib --- Rakefile | 7 ------- rakelib/sync_tool.rake | 6 ++++++ 2 files changed, 6 insertions(+), 7 deletions(-) create mode 100644 rakelib/sync_tool.rake diff --git a/Rakefile b/Rakefile index b5f2189..933384c 100644 --- a/Rakefile +++ b/Rakefile @@ -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] diff --git a/rakelib/sync_tool.rake b/rakelib/sync_tool.rake new file mode 100644 index 0000000..a687938 --- /dev/null +++ b/rakelib/sync_tool.rake @@ -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