sysbuild 1.0.15 → 1.1.0

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sysbuild.rb +10 -2
  3. data/lib/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: adf5c27fde59731bb910ff311062cb0f4ec65311fabc88da8fb64e7ecb39dde0
4
- data.tar.gz: 33a68972df78bdcbfc21fc6a22104ace732c867baeedd60ba30496143a8615af
3
+ metadata.gz: ec60a176b33d53a3470970290a25fd0e929887e12e920809ede7161bcbd2cd3e
4
+ data.tar.gz: 328adca884974153e66ffaa667c7b0a29d7d133c2d2a489c8cef7851c422c580
5
5
  SHA512:
6
- metadata.gz: 8d1ef949689e81e27134efb78dc07eb8e11e7eab419baad55d5e47ffea1cfb8d8ea9c36eb0a8890d1a1ef692f847ddfb6790ff0cc7160e53513da0e4d1896568
7
- data.tar.gz: b1ddf0e3129cd0af7c4a743d7a6a3438d185e4d0fa7b62b564082034331c7da344eacb24ee50e4124be0625745c0053933b6fce8bcc0a474fad1f851c7f83ce5
6
+ metadata.gz: c0295abd9e178c1442cb2b8b9cfdc528944d3b53d331564ffea80b17956b9aa348b55038357064b9e4e043c2f6027a9f4e44ce0a616794f5e114282e785ec241
7
+ data.tar.gz: 69026d960beaffb6c07777788c765f5797dd8267f1cbc2fcc5bfdb535ba0b87e373e97be881c10e137f58d2184bc8f09d119adc995b2cf7c8bd9f8161882dc0f
data/lib/sysbuild.rb CHANGED
@@ -154,12 +154,20 @@ class Sysbuild_Main
154
154
  @options[:partial] = list.split(',')
155
155
  end
156
156
 
157
- opt.on('-d', '--detect-changes [list]', 'Causes the script to attempt to identify projects with changes, and build those.') do |list|
157
+ opt.on('-d', '--detect-changes [list]', 'Causes the script to attempt to identify projects with changes, and build those, along with the specified list.') do |list|
158
158
  @options[:detect] = true
159
159
  @options[:clean] = true
160
160
  @options[:always_build] = list.split(',') if list
161
161
  end
162
162
 
163
+ # Same but force build
164
+ opt.on('-D', '--detect-changes-build [list]', 'Causes the script to attempt to identify projects with changes, and build those. Regardless of changes, the list is always built.') do |list|
165
+ @options[:detect] = true
166
+ @options[:clean] = true
167
+ @options[:always_build] = list.split(',') if list
168
+ @options[:always_build_force] = true
169
+ end
170
+
163
171
  opt.on('-c', '--clean', 'Clean build target areas before building') do
164
172
  @options[:clean] = true
165
173
  end
@@ -366,7 +374,7 @@ class Sysbuild_Main
366
374
 
367
375
  end
368
376
 
369
- if changed_projects.length > 0
377
+ if changed_projects.length > 0 || @options[:always_build_force]
370
378
 
371
379
  if (@options[:always_build])
372
380
 
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sysbuild
2
- VERSION='1.0.15'
2
+ VERSION='1.1.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sysbuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.15
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Hawksley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-01 00:00:00.000000000 Z
11
+ date: 2018-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler