Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 25 lines (17 sloc) 0.555 kB
ed80e62 Added restart to .autotest
zenspider authored
1 # -*- ruby -*-
2
3 require 'autotest/restart'
4
c3fbc63 When :executable is set, don't ask the user
drbrain authored
5 Autotest.add_hook :initialize do |at|
54e093c Fix mappings
drbrain authored
6 at.order = :natural # I am a bad person - Eric Hodel
b8b9eaf Fix for release version of ZenTest
drbrain authored
7 at.testlib = 'minitest/unit' if at.respond_to? :testlib=
c3fbc63 When :executable is set, don't ask the user
drbrain authored
8
9 at.add_exception %r%/\.svn/%
10 at.add_exception %r%\.rbc$%
e4be874 Add discovery of commands external to RubyGems
drbrain authored
11 at.add_exception %r%test/rubygems%
c3fbc63 When :executable is set, don't ask the user
drbrain authored
12
13 at.find_directories.clear
14 at.find_directories.push 'lib', 'test'
15
54e093c Fix mappings
drbrain authored
16 at.add_mapping %r%^lib/rubygems.rb$% do |_, m|
17 "test/test_gem.rb"
18 end
19
20 at.add_mapping %r%^lib/rubygems/(.*).rb$% do |_, m|
21 "test/test_gem_#{m[1].gsub '/', '_'}.rb"
c3fbc63 When :executable is set, don't ask the user
drbrain authored
22 end
23 end
24
Something went wrong with that request. Please try again.