Rakefile in rbs-0.15.0 vs Rakefile in rbs-0.16.0

- old
+ new

@@ -27,10 +27,17 @@ task :validate => :parser do sh "#{ruby} #{rbs} validate --silent" FileList["stdlib/*"].each do |path| next if path =~ %r{stdlib/builtin} - sh "#{ruby} #{rbs} -r#{File.basename(path)} validate --silent" + + lib = [File.basename(path).to_s] + + if lib == ["bigdecimal-math"] + lib << "bigdecimal" + end + + sh "#{ruby} #{rbs} #{lib.map {|l| "-r #{l}"}.join(" ")} validate --silent" end end FileList["test/stdlib/**/*_test.rb"].each do |test| task test => :parser do