OSDN Git Service

config for rails3
[tdcgexplorer/nimono.git] / script / autospec
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")