Sha256: 4d76e1dd2b76bcfe8051bf6c5d99e6dd4b33673c1842c4add55cf9abb75f47b5
Contents?: true
Size: 1.11 KB
Versions: 3
Compression:
Stored size: 1.11 KB
Contents
# -*- ruby -*- require 'autotest/restart' require 'autotest/isolate' require 'autotest/rcov' if ENV['RCOV'] Autotest.add_hook :initialize do |at| at.extra_files << "../../sexp_processor/dev/lib/pt_testcase.rb" at.libs << ":../../sexp_processor/dev/lib" at.add_exception 'unit' at.add_exception 'coverage' at.add_exception 'coverage.info' at.add_exception '.diff' at.libs << ':../../minitest/dev/lib' at.testlib = "minitest/autorun" at.add_mapping(/^lib\/.*\.y$/) do |f, _| at.files_matching %r%^test/.*#{File.basename(f, '.y').gsub '_', '_?'}.rb$% end at.add_mapping(/pt_testcase.rb/) do |f, _| at.files_matching(/test_.*rb$/) end %w(TestEnvironment TestStackState).each do |klass| at.extra_class_map[klass] = "test/test_ruby_parser_extras.rb" end %w(TestRuby18Parser TestRuby19Parser TestParseTree).each do |klass| # HACK at.extra_class_map[klass] = "test/test_ruby_parser.rb" end end Autotest.add_hook :run_command do |at, _| system "rake parser DEBUG=1" end class Autotest def ruby File.expand_path "~/.multiruby/install/1.9.0-0/bin/ruby" end end if ENV['ONENINE']
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby_parser-3.0.0.a5 | .autotest |
ruby_parser-3.0.0.a4 | .autotest |
ruby_parser-3.0.0.a3 | .autotest |