summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
authorYukihiro Matz Matsumoto <[email protected]>2013-03-02 15:20:48 +0900
committerYukihiro Matz Matsumoto <[email protected]>2013-03-02 15:20:48 +0900
commit494e133f614aab405f023f91a94ef3d4874e2b03 (patch)
tree8ddbe0421061f20d937d79e2f0d7741b52975d04 /Rakefile
parent0c9d42e08074538abde910419e9f08297054f47b (diff)
downloadmruby-494e133f614aab405f023f91a94ef3d4874e2b03.tar.gz
mruby-494e133f614aab405f023f91a94ef3d4874e2b03.zip
remove installing executable first to avoid text-file-busy when investigating on debugger
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 33967b07b..633c50385 100644
--- a/Rakefile
+++ b/Rakefile
@@ -41,6 +41,7 @@ depfiles = MRuby.targets['host'].bins.map do |bin|
source_path = MRuby.targets['host'].exefile("#{MRuby.targets['host'].build_dir}/bin/#{bin}")
file install_path => source_path do |t|
+ FileUtils.rm_f t.name, { :verbose => $verbose }
FileUtils.cp t.prerequisites.first, t.name, { :verbose => $verbose }
end