#! /usr/bin/env ruby require "autoproj/cli/main" argv = Autoproj::CLI.basic_setup class Amake < Autoproj::CLI::Main def self.banner(*) "amake [options]" end end begin if argv.include?("--help") || argv.include?("help") Amake.start(%w[help build]) else Amake.start(["build", "--amake", *argv]) end rescue Interrupt # Already notified in the reporting infrastructure end