Sha256: 24fb77186a260c864f261ae9592f2a4666c0f360a87cfd4dfb05d8c5e3f730be

Contents?: true

Size: 776 Bytes

Versions: 4

Compression:

Stored size: 776 Bytes

Contents

#! /usr/bin/ruby

if RUBY_VERSION < "2.3.0"
    STDERR.puts "autoproj requires Ruby >= 2.3.0"
    exit 1
elsif ENV['AUTOPROJ_CURRENT_ROOT'] && (ENV['AUTOPROJ_CURRENT_ROOT'] != Dir.pwd)
    STDERR.puts "it seems that you've already loaded an env.sh script in this console, open a new console and try again"
    exit 1
end

require 'autoproj/ops/install'

ENV.delete('BUNDLE_GEMFILE')
ENV.delete('RUBYLIB')
ops = Autoproj::Ops::Install.new(Dir.pwd)

existing_config = File.join(Dir.pwd, '.autoproj', 'config.yml')
if File.file?(existing_config)
    puts "Found existing configuration, using it as seed"
    puts "use --no-seed-config to avoid this behavior"
    ops.add_seed_config(existing_config)
end
ops.parse_options(ARGV)
ops.stage1
ops.call_stage2 unless ops.skip_stage2?

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
autoproj-2.14.0 bin/autoproj_install.in
autoproj-2.13.0 bin/autoproj_install.in
autoproj-2.12.1 bin/autoproj_install.in
autoproj-2.12.0 bin/autoproj_install.in