fastlane-plugin-xcpretty_report 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac4a3ec9b4bb7be4af79e985567c8cc7299c93da
|
4
|
+
data.tar.gz: 6278e3ae3c4d87dcfcfcfef5f8cc17e3b6951927
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f83e8f421b318a11d3d1c6d8b5f21e440205b24045e3f223c7d666bdfb35aa7d3d60e26fba05231df7854256de366d95597d4ce7f7ce39b2ac1187305c2f8fa4
|
7
|
+
data.tar.gz: 78b71a097def228f111bfef29c767d4dc12dfe3594c4213c130f4f9caad158c83068822dec3e14ab9b60da36a6628bb6d4587b801e11422ca994afa7eda78410
|
data/README.md
CHANGED
@@ -6,19 +6,19 @@ module Fastlane
|
|
6
6
|
|
7
7
|
output_path = params[:output_path]
|
8
8
|
unless File.exist?(output_path)
|
9
|
-
Actions.sh("mkdir #{output_path}", log: $verbose)
|
9
|
+
Actions.sh("mkdir '#{output_path}'", log: $verbose)
|
10
10
|
end
|
11
11
|
|
12
12
|
reports = ''
|
13
13
|
params[:types].each do |report|
|
14
14
|
path = File.join(output_path, params[:name]) + "." + report
|
15
|
-
reports << "--report #{report} --output #{path} "
|
15
|
+
reports << "--report '#{report}' --output '#{path}' "
|
16
16
|
end
|
17
|
-
Actions.sh("cat #{log_file} | bundle exec xcpretty #{reports}", log: $verbose)
|
17
|
+
Actions.sh("cat '#{log_file}' | bundle exec xcpretty #{reports}", log: $verbose)
|
18
18
|
|
19
19
|
if params[:use_json_formatter]
|
20
20
|
path = File.join(output_path, params[:name]) + ".json"
|
21
|
-
Actions.sh("cat #{log_file} | XCPRETTY_JSON_FILE_OUTPUT
|
21
|
+
Actions.sh("cat '#{log_file}' | XCPRETTY_JSON_FILE_OUTPUT='#{path}' bundle exec xcpretty -f `xcpretty-json-formatter`", log: $verbose)
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-xcpretty_report
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fernando Saragoca
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xcpretty
|