source: ruby/branches/0.5/script/autospec@ 194

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

refs #54

  • 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.