Fix the condition to remove mrbtest when rake clean

This commit is contained in:
KOBAYASHI Shuji
2021-01-10 16:28:14 +09:00
parent 6f6eabf05a
commit fe28e8617e
+2 -1
View File
@@ -60,5 +60,6 @@ MRuby.each_target do |build|
end
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