sysbuild 1.0.5 → 1.0.5.1
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.
- checksums.yaml +4 -4
- data/lib/sysbuild.rb +4 -0
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 690b69727e605f3a2e05e1b456b3a241f73e74ba
|
4
|
+
data.tar.gz: 50aa62c41009a3828fffdf2ad30fda4b5ce7a0b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d393246f8ab024abe0e7c65d897f29f661d95c1f36412ee76906cf3ea2fbc94e87ca1525b109ff1a18a87c673da2814f4d264dc6a48fcfa07748893e35c6465
|
7
|
+
data.tar.gz: 0c93469f822e76af3e957bfaddba5ebae9ebae70536b5aca90ff4bf3554ecb3628e52234f71ef83a9ac99e709bc7b00709994a131edba7cbc2044b7b6aacbd9c
|
data/lib/sysbuild.rb
CHANGED
@@ -105,6 +105,10 @@ class Sysbuild_Main
|
|
105
105
|
exit_code = do_scm2
|
106
106
|
end
|
107
107
|
|
108
|
+
# Tidy up any commands that didn't return integer - i.e. had no explicit return
|
109
|
+
# and simply let Ruby return the last evaluated object.
|
110
|
+
exit_code = 0 unless exit_code.is_a? Integer
|
111
|
+
|
108
112
|
puts
|
109
113
|
completion_message = "Build complete#{ ' with errors' unless ! exit_code }. Elapsed time: #{(Time.now - start_time).to_i}s";
|
110
114
|
puts Paint[completion_message, COL_NORMAL]
|
data/lib/version.rb
CHANGED