Sha256: 09733579cf8c4c3b1ccde972cae3e9221ef7072396d2a12c37f40691d7f8112c
Contents?: true
Size: 859 Bytes
Versions: 6
Compression:
Stored size: 859 Bytes
Contents
#! /usr/bin/ruby if RUBY_VERSION < "2.5.0" STDERR.puts "autoproj requires Ruby >= 2.5.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 bootstrap_options = ops.parse_options(ARGV) ops.stage1 ops.call_stage2 unless ops.skip_stage2? exit 1 unless ops.run_autoproj("bootstrap", *bootstrap_options)
Version data entries
6 entries across 6 versions & 1 rubygems