autobuild 1.5.33 → 1.5.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Changes.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == Version 1.5.34
2
+ * make sure oroGen handlers will trigger a new generation
3
+ on force-build
4
+
1
5
  == Version 1.5.33
2
6
  * fix autobuild failing if the generated documentation
3
7
  is not in the doc_dir, as expected. It now reports
@@ -57,12 +57,15 @@ module Autobuild
57
57
  def buildstamp; "#{builddir}/#{STAMPFILE}" end
58
58
 
59
59
  def prepare_for_forced_build
60
+ super
61
+
60
62
  FileUtils.rm_f buildstamp
61
63
  FileUtils.rm_f configurestamp
62
64
  end
63
65
 
64
66
  def prepare_for_rebuild
65
- prepare_for_forced_build
67
+ super
68
+
66
69
  if File.exists?(builddir) && builddir != srcdir
67
70
  FileUtils.rm_rf builddir
68
71
  end
@@ -168,6 +168,8 @@ module Autobuild
168
168
  # Called when the user asked for a full rebuild. It should delete the
169
169
  # build products so that a full build is retriggered.
170
170
  def prepare_for_rebuild
171
+ prepare_for_forced_build
172
+
171
173
  if File.exists?(installstamp)
172
174
  FileUtils.rm_f installstamp
173
175
  end
@@ -92,6 +92,8 @@ module Autobuild
92
92
  end
93
93
 
94
94
  def prepare_for_forced_build
95
+ super
96
+
95
97
  autodetect_needed_stages
96
98
  if using[:autoconf]
97
99
  FileUtils.rm_f File.join(srcdir, 'configure')
@@ -234,6 +234,11 @@ module Autobuild
234
234
  @orogen_file ||= "#{File.basename(name)}.orogen"
235
235
  end
236
236
 
237
+ def prepare_for_forced_build
238
+ super
239
+ FileUtils.rm_f genstamp
240
+ end
241
+
237
242
  def import
238
243
  super
239
244
 
@@ -1,5 +1,5 @@
1
1
  module Autobuild
2
- VERSION = "1.5.33" unless defined? Autobuild::VERSION
2
+ VERSION = "1.5.34" unless defined? Autobuild::VERSION
3
3
  end
4
4
 
5
5
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autobuild
3
3
  version: !ruby/object:Gem::Version
4
- hash: 65
4
+ hash: 71
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 5
9
- - 33
10
- version: 1.5.33
9
+ - 34
10
+ version: 1.5.34
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sylvain Joyeux
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-01 00:00:00 +01:00
18
+ date: 2011-02-02 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency