From a94a8b1cf0392d1020d0f2fd58aa3fd29fc64763 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Sun, 30 Jul 2023 03:51:48 +1000 Subject: [PATCH] Rake: update task clean to remove `bin` and `build` folders --- Rakefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Rakefile b/Rakefile index 2bcd71a7b..32d969f4a 100644 --- a/Rakefile +++ b/Rakefile @@ -53,10 +53,8 @@ task :build => MRuby.targets.flat_map{|_, build| build.products} desc "clean all built and in-repo installed artifacts" task :clean do - MRuby.each_target do |build| - rm_rf build.build_dir - rm_f build.products - end + rm_rf "#{MRUBY_ROOT}/bin" + rm_rf "#{MRUBY_ROOT}/build" puts "Cleaned up target build directory" end