Commit fe28e861 authored by KOBAYASHI Shuji's avatar KOBAYASHI Shuji

Fix the condition to remove `mrbtest` when `rake clean`

parent 6f6eabf0
...@@ -60,5 +60,6 @@ MRuby.each_target do |build| ...@@ -60,5 +60,6 @@ MRuby.each_target do |build|
end end
task :clean do task :clean do
rm_f "#{MRuby::Build.install_dir}/mrbtest" host = MRuby.targets["host"]
rm_f host.exefile("#{host.class.install_dir}/mrbtest") if host && host.test_enabled?
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment