diff options
author | Louise Crow <louise.crow@gmail.com> | 2011-02-23 14:08:46 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2011-02-23 14:08:46 +0000 |
commit | 66314753bf952538910b712dab2330d2bba5518f (patch) | |
tree | fec315d1757b394ca13371a1f765a273eb200109 /script/autospec | |
parent | 5dbf3a24e23114077052ceff36be49a3aaf46182 (diff) |
Adding spec conf files.
Diffstat (limited to 'script/autospec')
-rwxr-xr-x | script/autospec | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/script/autospec b/script/autospec new file mode 100755 index 000000000..837bbd7f4 --- /dev/null +++ b/script/autospec @@ -0,0 +1,6 @@ +#!/usr/bin/env ruby +gem 'test-unit', '1.2.3' if RUBY_VERSION.to_f >= 1.9 +ENV['RSPEC'] = 'true' # allows autotest to discover rspec +ENV['AUTOTEST'] = 'true' # allows autotest to run w/ color on linux +system((RUBY_PLATFORM =~ /mswin|mingw/ ? 'autotest.bat' : 'autotest'), *ARGV) || + $stderr.puts("Unable to find autotest. Please install ZenTest or fix your PATH") |