Scan ruby files in directories
@@ -114,12 +114,19 @@ MRuby.each_target do |target|
end
mkdir_p "#{MRUBY_ROOT}/build"
-cfiles = (Dir.glob("#{MRUBY_ROOT}/src/*.c")+
+cfiles = (
+ Dir.glob("#{MRUBY_ROOT}/src/*.c")+
Dir.glob("#{MRUBY_ROOT}/mrbgems/**/*.c")+
- Dir.glob("#{MRUBY_ROOT}/build/repos/**/{src,test,core}/*.c")).uniq
-rbfiles = (Dir.glob("#{MRUBY_ROOT}/{mrblib,test,test/t}/*.rb")+
+ Dir.glob("#{MRUBY_ROOT}/build/repos/**/{src,test,core}/*.c")
+).uniq
+rbfiles = (
+ Dir.glob("#{MRUBY_ROOT}/{mrblib,test,test/t}/*.rb")+
+ Dir.glob("#{MRUBY_ROOT}/{mrblib,test,test/t}/**/*.rb")+
Dir.glob("#{MRUBY_ROOT}/mrbgems/*/{mrblib,test}/*.rb")+
- Dir.glob("#{MRUBY_ROOT}/build/repos/**/{mrblib,test}/*.rb")).uniq
+ Dir.glob("#{MRUBY_ROOT}/mrbgems/*/{mrblib,test}/**/*.rb")+
+ Dir.glob("#{MRUBY_ROOT}/build/repos/**/{mrblib,test}/*.rb")+
+ Dir.glob("#{MRUBY_ROOT}/build/repos/**/{mrblib,test}/**/*.rb")
+).uniq
psfiles = Dir.glob("#{MRUBY_ROOT}/{mrblib,mrbgems,test,build/repos}/**/presym")
symbols = []
psfiles.each do |file|
