autoproj 1.11.0.rc6 → 1.11.0.rc7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a374debc4b6e9766d50fbbdfa1c3a1d3ab0a956c
4
- data.tar.gz: 6be295348b0976330770862336ff7c9d0d6918c1
3
+ metadata.gz: 14b89ab39afd8458a961c2a6377fb0a9612ed54c
4
+ data.tar.gz: e0e0b962d21398865dbe0b8c286287b0ee7b0cd8
5
5
  SHA512:
6
- metadata.gz: 43763fb3e6bc507e528a8cf6b361bbe7f394de94cf4c30e094d65a6167b69c8ad0406f5c534e12de96934d0a826f71d780d3dddbcc980d104bb8df6254f25da3
7
- data.tar.gz: 671127d1555c5e1117946ffc5635b57ee0149cd8e4d0afba9f932f44afec718ecd77b168ec842ea89c44710c493156b3ff10b1f79f4777efeb93ae3039f445cb
6
+ metadata.gz: fb711e7b42acf4104ab041753e53318faf1e9cac5b6b7bf5b12431028e4bd959970cb0d6fadba05961ac16c8014c4d5c5a252885deeac4e5582bf73568b810c5
7
+ data.tar.gz: a0f4c93397ce1bbe70c11ccf8a45339f91fcaa5e1e991f19d13470742324e525763c02fa3cb18a58b63839cebd74408ad0adc73ec05af2a2f53f477a388ace27
data/Manifest.txt CHANGED
@@ -35,11 +35,11 @@ lib/autoproj/gitorious.rb
35
35
  lib/autoproj/installation_manifest.rb
36
36
  lib/autoproj/manifest.rb
37
37
  lib/autoproj/metapackage.rb
38
- lib/autoproj/ops/main_config_switcher.rb
39
38
  lib/autoproj/ops/build.rb
40
39
  lib/autoproj/ops/cache.rb
41
40
  lib/autoproj/ops/configuration.rb
42
41
  lib/autoproj/ops/loader.rb
42
+ lib/autoproj/ops/main_config_switcher.rb
43
43
  lib/autoproj/ops/tools.rb
44
44
  lib/autoproj/options.rb
45
45
  lib/autoproj/osdeps.rb
@@ -62,6 +62,7 @@ samples/autoproj/overrides.yml
62
62
  samples/manifest.xml
63
63
  samples/osdeps.yml
64
64
  shell/autoproj_bash
65
+ shell/autoproj_sh
65
66
  shell/autoproj_zsh
66
67
  test/data/empty_manifest.xml
67
68
  test/data/full_manifest.xml
@@ -2630,17 +2630,10 @@ module Autoproj
2630
2630
  end
2631
2631
 
2632
2632
  shell_dir = File.expand_path(File.join("..", "..", "shell"), File.dirname(__FILE__))
2633
- if Autoproj.shell_helpers? && shell = ENV['SHELL']
2634
- shell_kind = File.basename(shell)
2635
- if shell_kind =~ /^\w+$/
2636
- shell_file = File.join(shell_dir, "autoproj_#{shell_kind}")
2637
- if File.exists?(shell_file)
2638
- Autoproj.message
2639
- Autoproj.message "autodetected the shell to be #{shell_kind}, sourcing autoproj shell helpers"
2640
- Autoproj.message "add \"Autoproj.shell_helpers = false\" in autoproj/init.rb to disable"
2641
- Autobuild.env_source_after(shell_file)
2642
- end
2643
- end
2633
+ if Autoproj.shell_helpers?
2634
+ Autoproj.message "sourcing autoproj shell helpers"
2635
+ Autoproj.message "add \"Autoproj.shell_helpers = false\" in autoproj/init.rb to disable"
2636
+ Autobuild.env_source_after(File.join(shell_dir, "autoproj_sh"))
2644
2637
  end
2645
2638
 
2646
2639
  File.open(filename, "w") do |io|
@@ -176,17 +176,10 @@ module Autoproj
176
176
  end
177
177
 
178
178
  shell_dir = File.expand_path(File.join("..", "..", "shell"), File.dirname(__FILE__))
179
- if Autoproj.shell_helpers? && shell = ENV['SHELL']
180
- shell_kind = File.basename(shell)
181
- if shell_kind =~ /^\w+$/
182
- shell_file = File.join(shell_dir, "autoproj_#{shell_kind}")
183
- if File.exists?(shell_file)
184
- Autoproj.message
185
- Autoproj.message "autodetected the shell to be #{shell_kind}, sourcing autoproj shell helpers"
186
- Autoproj.message "add \"Autoproj.shell_helpers = false\" in autoproj/init.rb to disable"
187
- Autobuild.env_source_after(shell_file)
188
- end
189
- end
179
+ if Autoproj.shell_helpers?
180
+ Autoproj.message "sourcing autoproj shell helpers"
181
+ Autoproj.message "add \"Autoproj.shell_helpers = false\" in autoproj/init.rb to disable"
182
+ Autobuild.env_source_after(File.join(shell_dir, "autoproj_sh"))
190
183
  end
191
184
 
192
185
  File.open(filename, "w") do |io|
@@ -1,3 +1,3 @@
1
1
  module Autoproj
2
- VERSION = "1.11.0.rc6"
2
+ VERSION = "1.11.0.rc7"
3
3
  end
data/shell/autoproj_sh ADDED
@@ -0,0 +1,12 @@
1
+ acd() {
2
+ local pkg_path
3
+ pkg_path=$(autoproj locate $1)
4
+
5
+ if [ $? != 0 ]; then
6
+ return 1
7
+ else
8
+ pkg_path=$(echo $pkg_path | tail -1)
9
+ cd $pkg_path
10
+ return 0
11
+ fi
12
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autoproj
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0.rc6
4
+ version: 1.11.0.rc7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rock Core Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-17 00:00:00.000000000 Z
11
+ date: 2014-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: autobuild
@@ -178,6 +178,7 @@ files:
178
178
  - samples/manifest.xml
179
179
  - samples/osdeps.yml
180
180
  - shell/autoproj_bash
181
+ - shell/autoproj_sh
181
182
  - shell/autoproj_zsh
182
183
  - test/data/empty_manifest.xml
183
184
  - test/data/full_manifest.xml