source:
ruby/tags/release-0.5.0/script/autospec
Last change on this file was 194, checked in by , 15 years ago | |
---|---|
|
|
File size: 369 bytes |
Line | |
---|---|
1 | #!/usr/bin/env ruby |
2 | gem 'test-unit', '1.2.3' if RUBY_VERSION.to_f >= 1.9 |
3 | ENV['RSPEC'] = 'true' # allows autotest to discover rspec |
4 | ENV['AUTOTEST'] = 'true' # allows autotest to run w/ color on linux |
5 | system((RUBY_PLATFORM =~ /mswin|mingw/ ? 'autotest.bat' : 'autotest'), *ARGV) || |
6 | $stderr.puts("Unable to find autotest. Please install ZenTest or fix your PATH") |
Note:
See TracBrowser
for help on using the repository browser.