summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/Rakefile b/Rakefile
index c041586c0..6612b4f90 100644
--- a/Rakefile
+++ b/Rakefile
@@ -35,10 +35,9 @@ load "#{MRUBY_ROOT}/tasks/gitlab.rake"
load "#{MRUBY_ROOT}/tasks/doc.rake"
def install_D(src, dst)
- opts = { :verbose => $verbose }
- FileUtils.rm_f dst, opts
- FileUtils.mkdir_p File.dirname(dst), opts
- FileUtils.cp src, dst, opts
+ rm_f dst
+ mkdir_p File.dirname(dst)
+ cp src, dst
end
##############################
@@ -146,16 +145,16 @@ end
desc "clean all built and in-repo installed artifacts"
task :clean do
MRuby.each_target do |t|
- FileUtils.rm_rf t.build_dir, { :verbose => $verbose }
+ rm_rf t.build_dir
end
- FileUtils.rm_f depfiles, { :verbose => $verbose }
+ rm_f depfiles
puts "Cleaned up target build folder"
end
desc "clean everything!"
task :deep_clean => ["clean", "clean_doc"] do
MRuby.each_target do |t|
- FileUtils.rm_rf t.gem_clone_dir, { :verbose => $verbose }
+ rm_rf t.gem_clone_dir
end
puts "Cleaned up mrbgems build folder"
end