bin/autobuild in autobuild-1.17.0 vs bin/autobuild in autobuild-1.18.0

- old
+ new

@@ -1,15 +1,17 @@ #! /usr/bin/env ruby begin require 'daemons' -rescue LoadError +rescue LoadError # rubocop:disable Lint/HandleExceptions end require 'autobuild' +# rubocop:disable Style/MixinUsage include Autobuild +# rubocop:enable Style/MixinUsage DEFAULT_HTTP_PORT = 2000 # Load the command line options conffile, *packages = Autobuild.commandline(ARGV) @@ -18,11 +20,11 @@ # make conffile an absolute path since daemonize mode makes # / the current directory conffile = File.expand_path(conffile, Dir.pwd) if Autobuild.daemonize puts "Going into daemon mode ..." - Daemons.daemonize + Daemons.daemonize end Reporting << StdoutReporter.new begin Reporting.report do @@ -38,6 +40,5 @@ STDERR.puts "Rake failed with a ThreadError" STDERR.puts "You may have a circular dependency in your packages" rescue Interrupt STDERR.puts "interrupted" end -