Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

vistahigherlearning / logstash   deb

Repository URL to install this package:

/ opt / logstash / vendor / bundle / jruby / 1.9 / gems / nokogiri-1.6.1-java / .autotest

# -*- ruby -*-

begin
  require 'autotest/fsevent'
rescue LoadError
end

Autotest.add_hook :initialize do |at|
  at.add_exception /bundle$/
  at.add_exception /\.git/
end

Autotest.add_hook :run_command do |at|
  at.unit_diff = 'cat'
  if ENV['ONENINE']
    system "rake1.9 compile"
  else
    system "rake compile"
  end
end

Autotest.add_hook :ran_command do |at|
  File.open('/tmp/autotest.txt', 'wb') { |f|
    f.write(at.results.join)
  }
end