autoproj 2.0.0.rc6 → 2.0.0.rc8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/autoproj.gemspec +1 -0
- data/bin/autoproj_bootstrap +10 -8
- data/bin/autoproj_bootstrap.in +6 -4
- data/bin/autoproj_install +6 -6
- data/bin/autoproj_install.in +2 -2
- data/lib/autoproj/ops/install.rb +4 -4
- data/lib/autoproj/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bddd3ede1fe4f58fe3cc3c9b7e37b05a06c3c3cb
|
4
|
+
data.tar.gz: 300374bfb1cb43ed90200d5d19c049cf1b001a3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ec06a35be38735bf8b45ea5eb29a0e48a3dba7ea52be07b0ff32d76e3267aa2a423ad4b978f1c9aabfc1a68011a3d881cbf235342b210a69068dfec9a68bbd6
|
7
|
+
data.tar.gz: 327f067eac8418c5829c1ebb054eb9e06d7518f23d7626263009eff45f62d3cd1bac7353753f26e800b6467d42ea53d2236212c21b47655f7ecaa99c2b146c07
|
data/autoproj.gemspec
CHANGED
data/bin/autoproj_bootstrap
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#! /usr/bin/ruby
|
2
2
|
|
3
|
-
if RUBY_VERSION < "
|
4
|
-
STDERR.puts "autoproj requires Ruby >=
|
3
|
+
if RUBY_VERSION < "2.0.0"
|
4
|
+
STDERR.puts "autoproj requires Ruby >= 2.0.0"
|
5
5
|
exit 1
|
6
6
|
end
|
7
7
|
|
@@ -413,12 +413,12 @@ module Autoproj
|
|
413
413
|
clean_env = env_for_child
|
414
414
|
stage2_vars = clean_env.map { |k, v| "#{k}=#{v}" }
|
415
415
|
puts "starting the newly installed autoproj for stage2 install"
|
416
|
-
|
417
|
-
Gem.ruby, File.join(autoproj_install_dir, 'bin', 'autoproj'),
|
418
|
-
'install-stage2', root_dir, *stage2_vars].inspect
|
419
|
-
exec clean_env.merge('BUNDLE_GEMFILE' => autoproj_gemfile_path),
|
416
|
+
result = system clean_env.merge('BUNDLE_GEMFILE' => autoproj_gemfile_path),
|
420
417
|
Gem.ruby, File.join(autoproj_install_dir, 'bin', 'autoproj'),
|
421
418
|
'install-stage2', root_dir, *stage2_vars
|
419
|
+
if !result
|
420
|
+
raise "failed to execute autoproj install-stage2"
|
421
|
+
end
|
422
422
|
end
|
423
423
|
|
424
424
|
def stage2(*vars)
|
@@ -434,9 +434,11 @@ end
|
|
434
434
|
|
435
435
|
|
436
436
|
|
437
|
+
ENV.delete('BUNDLE_GEMFILE')
|
438
|
+
ENV.delete('RUBYLIB')
|
437
439
|
ops = Autoproj::Ops::Install.new(Dir.pwd)
|
438
|
-
|
439
|
-
ops.
|
440
|
+
ops.parse_options(ARGV)
|
441
|
+
ops.stage1
|
440
442
|
|
441
443
|
# we assume that Install#run loads bundler and autobuild. Load autoproj and run
|
442
444
|
# bootstrap
|
data/bin/autoproj_bootstrap.in
CHANGED
@@ -1,15 +1,17 @@
|
|
1
1
|
#! /usr/bin/ruby
|
2
2
|
|
3
|
-
if RUBY_VERSION < "
|
4
|
-
STDERR.puts "autoproj requires Ruby >=
|
3
|
+
if RUBY_VERSION < "2.0.0"
|
4
|
+
STDERR.puts "autoproj requires Ruby >= 2.0.0"
|
5
5
|
exit 1
|
6
6
|
end
|
7
7
|
|
8
8
|
AUTOPROJ_OPS_INSTALL
|
9
9
|
|
10
|
+
ENV.delete('BUNDLE_GEMFILE')
|
11
|
+
ENV.delete('RUBYLIB')
|
10
12
|
ops = Autoproj::Ops::Install.new(Dir.pwd)
|
11
|
-
|
12
|
-
ops.
|
13
|
+
ops.parse_options(ARGV)
|
14
|
+
ops.stage1
|
13
15
|
|
14
16
|
# we assume that Install#run loads bundler and autobuild. Load autoproj and run
|
15
17
|
# bootstrap
|
data/bin/autoproj_install
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#! /usr/bin/ruby
|
2
2
|
|
3
|
-
if RUBY_VERSION < "
|
4
|
-
STDERR.puts "autoproj requires Ruby >=
|
3
|
+
if RUBY_VERSION < "2.0.0"
|
4
|
+
STDERR.puts "autoproj requires Ruby >= 2.0.0"
|
5
5
|
exit 1
|
6
6
|
end
|
7
7
|
|
@@ -413,12 +413,12 @@ module Autoproj
|
|
413
413
|
clean_env = env_for_child
|
414
414
|
stage2_vars = clean_env.map { |k, v| "#{k}=#{v}" }
|
415
415
|
puts "starting the newly installed autoproj for stage2 install"
|
416
|
-
|
417
|
-
Gem.ruby, File.join(autoproj_install_dir, 'bin', 'autoproj'),
|
418
|
-
'install-stage2', root_dir, *stage2_vars].inspect
|
419
|
-
exec clean_env.merge('BUNDLE_GEMFILE' => autoproj_gemfile_path),
|
416
|
+
result = system clean_env.merge('BUNDLE_GEMFILE' => autoproj_gemfile_path),
|
420
417
|
Gem.ruby, File.join(autoproj_install_dir, 'bin', 'autoproj'),
|
421
418
|
'install-stage2', root_dir, *stage2_vars
|
419
|
+
if !result
|
420
|
+
raise "failed to execute autoproj install-stage2"
|
421
|
+
end
|
422
422
|
end
|
423
423
|
|
424
424
|
def stage2(*vars)
|
data/bin/autoproj_install.in
CHANGED
data/lib/autoproj/ops/install.rb
CHANGED
@@ -406,12 +406,12 @@ def stage1
|
|
406
406
|
clean_env = env_for_child
|
407
407
|
stage2_vars = clean_env.map { |k, v| "#{k}=#{v}" }
|
408
408
|
puts "starting the newly installed autoproj for stage2 install"
|
409
|
-
|
410
|
-
Gem.ruby, File.join(autoproj_install_dir, 'bin', 'autoproj'),
|
411
|
-
'install-stage2', root_dir, *stage2_vars].inspect
|
412
|
-
exec clean_env.merge('BUNDLE_GEMFILE' => autoproj_gemfile_path),
|
409
|
+
result = system clean_env.merge('BUNDLE_GEMFILE' => autoproj_gemfile_path),
|
413
410
|
Gem.ruby, File.join(autoproj_install_dir, 'bin', 'autoproj'),
|
414
411
|
'install-stage2', root_dir, *stage2_vars
|
412
|
+
if !result
|
413
|
+
raise "failed to execute autoproj install-stage2"
|
414
|
+
end
|
415
415
|
end
|
416
416
|
|
417
417
|
def stage2(*vars)
|
data/lib/autoproj/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autoproj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.rc8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylvain Joyeux
|
@@ -265,7 +265,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
265
265
|
requirements:
|
266
266
|
- - ">="
|
267
267
|
- !ruby/object:Gem::Version
|
268
|
-
version:
|
268
|
+
version: 2.0.0
|
269
269
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
270
270
|
requirements:
|
271
271
|
- - ">"
|