Sha256: 6f7a403cf9e0f144823c872a29173f32423d9ce378c6a3bf54e8eb5513156b78
Contents?: true
Size: 616 Bytes
Versions: 19
Compression:
Stored size: 616 Bytes
Contents
#! /usr/bin/ruby if RUBY_VERSION < "2.1.0" STDERR.puts "autoproj requires Ruby >= 2.1.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
19 entries across 19 versions & 1 rubygems