autobuild 1.6.0.b1 → 1.6.0.b2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/autobuild/package.rb +6 -4
- data/lib/autobuild/packages/orogen.rb +3 -1
- data/lib/autobuild/version.rb +1 -1
- metadata +3 -3
data/lib/autobuild/package.rb
CHANGED
@@ -197,8 +197,8 @@ module Autobuild
|
|
197
197
|
return if failed?
|
198
198
|
|
199
199
|
begin
|
200
|
-
|
201
|
-
|
200
|
+
toplevel = !Thread.current[:isolate_errors]
|
201
|
+
Thread.current[:isolate_errors] = true
|
202
202
|
yield
|
203
203
|
rescue Interrupt
|
204
204
|
raise
|
@@ -208,7 +208,7 @@ module Autobuild
|
|
208
208
|
@failed = true
|
209
209
|
end
|
210
210
|
|
211
|
-
if
|
211
|
+
if Autobuild.ignore_errors
|
212
212
|
lines = e.to_s.split("\n")
|
213
213
|
if lines.empty?
|
214
214
|
lines = e.message.split("\n")
|
@@ -225,7 +225,9 @@ module Autobuild
|
|
225
225
|
raise
|
226
226
|
end
|
227
227
|
ensure
|
228
|
-
|
228
|
+
if toplevel
|
229
|
+
Thread.current[:isolate_errors] = false
|
230
|
+
end
|
229
231
|
end
|
230
232
|
end
|
231
233
|
|
data/lib/autobuild/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autobuild
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 51
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 6
|
9
9
|
- 0
|
10
10
|
- b
|
11
|
-
-
|
12
|
-
version: 1.6.0.
|
11
|
+
- 2
|
12
|
+
version: 1.6.0.b2
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Sylvain Joyeux
|