summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
authorKOBAYASHI Shuji <[email protected]>2020-12-02 23:15:29 +0900
committerKOBAYASHI Shuji <[email protected]>2020-12-02 23:15:29 +0900
commite1fa01b9c8f271c1cce58bbe4e1ef6d63f6c2f2a (patch)
tree02755a6af7d3fbdc5ebcb2906edf6760c18aa3b6 /Rakefile
parent661081a072e9176f2640664453f734e8aa993766 (diff)
downloadmruby-e1fa01b9c8f271c1cce58bbe4e1ef6d63f6c2f2a.tar.gz
mruby-e1fa01b9c8f271c1cce58bbe4e1ef6d63f6c2f2a.zip
Remove `build/presym{,.inc}` by `rake clean` [ci skip]
Currently, adding gems to build configuration and rebuilding does not regenerate `presym`, which can lead to build errors. Therefore in this case we need to remove the `presym` file and then rebuild mruby, but when the` presym` file is regenerated we will need to recompile most of the files, so it seems useful to have the `presym` file deleted by `rake clean`.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index 8ac1f7f8f..c2c76ba1b 100644
--- a/Rakefile
+++ b/Rakefile
@@ -278,6 +278,8 @@ task :clean do
rm_rf t.build_dir
end
rm_f depfiles
+ rm_f presym_file
+ rm_f presym_inc
puts "Cleaned up target build folder"
end
@@ -286,7 +288,5 @@ task :deep_clean => ["clean", "clean_doc"] do
MRuby.each_target do |t|
rm_rf t.gem_clone_dir
end
- rm_f presym_file
- rm_f presym_inc
puts "Cleaned up mrbgems build folder"
end