Sha256: 0776bbc38c4892870b3a33e346d538e4aef3e5fd8a1643d08b1dc411c213a011
Contents?: true
Size: 732 Bytes
Versions: 23
Compression:
Stored size: 732 Bytes
Contents
#! /usr/bin/env ruby require 'autoproj/cli/snapshot' args = ARGV.map do |arg| if File.directory?(arg) File.expand_path(arg) else arg end end Autoproj::CmdLine.report(silent: true) do Autoproj.silent do Autoproj::CmdLine.initialize_root_directory Autoproj::CmdLine.initialize_and_load([]) end cli = Autoproj::CLI::Snapshot.new(Autoproj.manifest) args, options = cli.parse_options(args) if args.empty? Autoproj.error "missing target directory on the command line" exit 1 elsif args.size > 1 Autoproj.error "expected only one argument on the command line specifying the target directory" exit 1 end cli.run(args.first, options) end
Version data entries
23 entries across 23 versions & 1 rubygems