source: ruby/trunk/script/autospec@ 297

Last change on this file since 297 was 297, checked in by KOBAYASHI, Shinji, 15 years ago

hand merge

  • Property svn:executable set to *
File size: 369 bytes
Line 
1#!/usr/bin/env ruby
2gem 'test-unit', '1.2.3' if RUBY_VERSION.to_f >= 1.9
3ENV['RSPEC'] = 'true' # allows autotest to discover rspec
4ENV['AUTOTEST'] = 'true' # allows autotest to run w/ color on linux
5system((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.