tenderlove / nokogiri

Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser with XPath and CSS selector support.

nokogiri / .autotest
100644 16 lines (13 sloc) 0.216 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# -*- ruby -*-
 
Autotest.add_hook :run_command do |at|
  if ENV['ONENINE']
    system "rake1.9 compile"
  else
    system "rake compile"
  end
end
 
class Autotest
  def ruby
    'ruby1.9'
  end
end if ENV['ONENINE']