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

Version Path
autoproj-1.13.7 bin/autoproj-snapshot
autoproj-1.13.6 bin/autoproj-snapshot
autoproj-1.13.5 bin/autoproj-snapshot
autoproj-1.13.5.rc1 bin/autoproj-snapshot
autoproj-1.13.4 bin/autoproj-snapshot
autoproj-1.13.3 bin/autoproj-snapshot
autoproj-1.13.3.b2 bin/autoproj-snapshot
autoproj-1.13.3.b1 bin/autoproj-snapshot
autoproj-1.13.2.b4 bin/autoproj-snapshot
autoproj-1.13.2.b3 bin/autoproj-snapshot
autoproj-1.13.2.b2 bin/autoproj-snapshot
autoproj-1.13.2.b1 bin/autoproj-snapshot
autoproj-1.13.2 bin/autoproj-snapshot
autoproj-1.13.1 bin/autoproj-snapshot
autoproj-1.13.0 bin/autoproj-snapshot
autoproj-1.13.0.b8 bin/autoproj-snapshot
autoproj-1.13.0.b7 bin/autoproj-snapshot
autoproj-1.13.0.b6 bin/autoproj-snapshot
autoproj-1.13.0.b5 bin/autoproj-snapshot
autoproj-1.13.0.b4 bin/autoproj-snapshot