Rakefile in rbs-0.12.0 vs Rakefile in rbs-0.12.1

- old
+ new

@@ -32,14 +32,14 @@ sh "#{ruby} #{rbs} -r#{File.basename(path)} validate" end end FileList["test/stdlib/**/*_test.rb"].each do |test| - multitask test => :parser do + task test => :parser do sh "#{ruby} -Ilib #{bin}/test_runner.rb #{test}" end - multitask stdlib_test: test + task stdlib_test: test end task :rubocop do sh "rubocop --parallel" end @@ -172,8 +172,13 @@ path.write TestTemplateBuilder.new(klass).call puts "Created: #{path}" end +end + +task :test_generate_stdlib do + sh "RBS_GENERATE_TEST_PATH=/tmp/Array_test.rb rake 'generate:stdlib_test[Array]'" + sh "ruby -c /tmp/Array_test.rb" end CLEAN.include("lib/rbs/parser.rb")