aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/plugins/rspec/bin/autospec
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/plugins/rspec/bin/autospec')
-rwxr-xr-xvendor/plugins/rspec/bin/autospec4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/plugins/rspec/bin/autospec b/vendor/plugins/rspec/bin/autospec
new file mode 100755
index 000000000..82a314f15
--- /dev/null
+++ b/vendor/plugins/rspec/bin/autospec
@@ -0,0 +1,4 @@
+#!/usr/bin/env ruby
+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 \ No newline at end of file