Rakefile in rbs-3.0.1 vs Rakefile in rbs-3.0.2

- old
+ new

@@ -56,13 +56,14 @@ task :validate => :compile do require 'yaml' sh "#{ruby} #{rbs} validate --silent" - FileList["stdlib/*"].each do |path| - lib = [File.basename(path).to_s] + libs = FileList["stdlib/*"].map {|path| File.basename(path).to_s } + libs << "rbs" - sh "#{ruby} #{rbs} #{lib.map {|l| "-r #{l}"}.join(" ")} validate --silent" + libs.each do |lib| + sh "#{ruby} #{rbs} -r #{lib} validate --silent" end end FileList["test/stdlib/**/*_test.rb"].each do |test| task test => :compile do