summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-05-15 15:50:09 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 16:20:50 +0900
commitacd5317fb1832c82cd1c6773ecbbb3f07b19fb06 (patch)
tree776c8c7e5576279bbf039759ea1f906cbdee2b6a
parent8d90c7c0fa755f90262f986899e60e8fc99af4d3 (diff)
downloadmruby-acd5317fb1832c82cd1c6773ecbbb3f07b19fb06.tar.gz
mruby-acd5317fb1832c82cd1c6773ecbbb3f07b19fb06.zip
Create `build` directory first before `gensym`.
-rw-r--r--Rakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 56951b02a..8c7533b43 100644
--- a/Rakefile
+++ b/Rakefile
@@ -104,6 +104,7 @@ MRuby.each_target do |target|
end
end
+mkdir_p "#{MRUBY_ROOT}/build"
cfiles = (Dir.glob("#{MRUBY_ROOT}/src/*.c")+
Dir.glob("#{MRUBY_ROOT}/mrbgems/*/{core,src}/*.c")+
Dir.glob("#{MRUBY_ROOT}/build/*/mrbgems/**/{src,core}/*.c")).uniq