Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (14 sloc) 568 Bytes
# -*- ruby -*-
require 'autotest/restart'
Autotest.add_hook :initialize do |at|
l = %w(ruby_parser RubyInline sexp_processor minitest)
t = %w(ParseTree sexp_processor)
at.libs << ':' << l.map { |d| "../../#{d}/dev/lib" }.join(":")
at.libs << ':' << t.map { |d| "../../#{d}/dev/test" }.join(":")
at.extra_files << "../../ParseTree/dev/test/pt_testcase.rb"
at.add_mapping(/(pt_|r2c)testcase/) do |f, _|
at.files_matching(/\/test_.*rb$/)
end
at.extra_class_map["TestCRewriter"] = "test/test_crewriter.rb"
at.testlib = "minitest/autorun"
end
Something went wrong with that request. Please try again.