Sha256: 712c703cc29b647f9cd8e467f3647dde871a42233705c4135269bc949fd598fd
Contents?: true
Size: 775 Bytes
Versions: 6
Compression:
Stored size: 775 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 ops.parse_options(ARGV) ops.stage1 ops.call_stage2 unless ops.skip_stage2?
Version data entries
6 entries across 6 versions & 1 rubygems