Sha256: c3054e754dae8ec150a5f6b5fbb4c891c93a5ab3e068e3f92d8a7aa49a1f7488

Contents?: true

Size: 616 Bytes

Versions: 4

Compression:

Stored size: 616 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)
bootstrap_options = ops.parse_options(ARGV)
ops.stage1
if !ops.skip_stage2?
    ops.call_stage2
end
if !ops.run_autoproj 'bootstrap', *bootstrap_options
    exit 1
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
autoproj-2.11.0 bin/autoproj_bootstrap.in
autoproj-2.10.2 bin/autoproj_bootstrap.in
autoproj-2.10.1 bin/autoproj_bootstrap.in
autoproj-2.10.0 bin/autoproj_bootstrap.in