xcjobs 0.5.0 → 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/xcjobs/version.rb +1 -1
- data/lib/xcjobs/xcodebuild.rb +1 -3
- 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: 5f72c51fd91c95674b99b70444f69bcfad9f028d
|
|
4
|
+
data.tar.gz: ca6958de688052da7cbefd1e6a77c3e03f991b17
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef9f3f25ba19e2c7dddde7c8689d91d1815e5003f647e90bf3c49ba316ce594e76a7e89dbda171869fdd43bdee7ad1816bd86b57022fa3ec741e48f38702b5ef
|
|
7
|
+
data.tar.gz: e42e3ba58b1749692e8c0672366d49f22383427f17cc574c98e81f1852c73c195aa6f6f30a4899e5633ef62f5062feaf57e1388cbb8c4119329c5992075ca302
|
data/lib/xcjobs/version.rb
CHANGED
data/lib/xcjobs/xcodebuild.rb
CHANGED
|
@@ -221,16 +221,14 @@ module XCJobs
|
|
|
221
221
|
if product_type == 'com.apple.product-type.framework' || product_type == 'com.apple.product-type.application'
|
|
222
222
|
if sdk.start_with?('iphone') && settings['ONLY_ACTIVE_ARCH'] == 'NO'
|
|
223
223
|
executable_name = settings['EXECUTABLE_NAME']
|
|
224
|
-
target_path = Dir.glob(File.join(objroot, '/**/' +executable_name)).first
|
|
225
224
|
else
|
|
226
225
|
executable_name = product_type == 'com.apple.product-type.application' ? settings['EXECUTABLE_PATH'] : settings['EXECUTABLE_NAME']
|
|
227
|
-
target_path = Dir.glob(File.join(objroot, '/**/' +executable_name)).select { |f| File.stat(f).file? }.first
|
|
228
226
|
end
|
|
227
|
+
target_path = Dir.glob(File.join(objroot, '/**/' +executable_name)).select { |f| File.stat(f).file? }.first
|
|
229
228
|
elsif
|
|
230
229
|
raise %[Product type (PRODUCT_TYPE) '#{product_type}' is unsupported.]
|
|
231
230
|
end
|
|
232
231
|
|
|
233
|
-
puts target_path
|
|
234
232
|
profdata_path = Dir.glob(File.join(objroot, '/**/Coverage.profdata')).first
|
|
235
233
|
|
|
236
234
|
show_coverage(profdata_path, target_path)
|