summaryrefslogtreecommitdiff
path: root/.autotest
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2009-10-22 17:50:43 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2009-10-22 17:50:43 -0700
commit35fb005e028b42faff1ec0f01d84ed88d155df06 (patch)
treee2ed25d2feabf2614aed5b300efea297baa748df /.autotest
parent3854df000780465f6e78b084732d5ab324be941e (diff)
downloadpsych-35fb005e028b42faff1ec0f01d84ed88d155df06.zip
speed improvement
Diffstat (limited to '.autotest')
-rw-r--r--.autotest7
1 files changed, 2 insertions, 5 deletions
diff --git a/.autotest b/.autotest
index 91445cd..ac7a24c 100644
--- a/.autotest
+++ b/.autotest
@@ -1,4 +1,5 @@
require "autotest/restart"
+require 'rbconfig'
Autotest.add_hook :initialize do |at|
at.find_directories = ARGV unless ARGV.empty?
@@ -7,11 +8,7 @@ end
Autotest.add_hook :run_command do |at|
at.unit_diff = 'cat'
- if ENV['ONENINE']
- system "rake1.9 compile"
- else
- system "rake compile"
- end
+ system "ruby -S rake compile"
end
Autotest.add_hook :ran_command do |at|