diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2009-10-22 17:50:43 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2009-10-22 17:50:43 -0700 |
commit | 35fb005e028b42faff1ec0f01d84ed88d155df06 (patch) | |
tree | e2ed25d2feabf2614aed5b300efea297baa748df /.autotest | |
parent | 3854df000780465f6e78b084732d5ab324be941e (diff) | |
download | psych-35fb005e028b42faff1ec0f01d84ed88d155df06.zip |
speed improvement
Diffstat (limited to '.autotest')
-rw-r--r-- | .autotest | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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| |