Skip to content

Commit

Permalink
Merge pull request #29 from futuredapp/housekeep/xcode-summary-version
Browse files Browse the repository at this point in the history
Update Xcode summary plugin
  • Loading branch information
Dominik Kohlman authored Jan 24, 2022
2 parents e2944b4 + f0d266d commit 781d4f0
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 16 deletions.
8 changes: 4 additions & 4 deletions Dangerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
jira_link = "https://thefuntasty.atlassian.net/browse/"
max_pr_length = 500
swiftlint_binary_path = './Pods/SwiftLint/swiftlint'
build_report_file = 'build/reports/errors.json'
dependency_configuration_files = ['Package.swift', 'Package.resolved', 'Podfile', 'Cartfile']

# Regular expressions for PR title and branch
Expand Down Expand Up @@ -58,10 +57,11 @@ if `gem list -i danger-swiftlint`.strip == "true" then
end

# Send iOS build results if possible
if File.file?(build_report_file) then
xcode_summary.ignored_files = '**/Pods/**'
xcresult_file = Dir["fastlane/test_output/*.xcresult"].first
if File.exist? xcresult_file then
xcode_summary.ignored_files = 'Pods/**'
xcode_summary.inline_mode = true
xcode_summary.report build_report_file
xcode_summary.report xcresult_file
end

# Warn about documenting dependency changes
Expand Down
28 changes: 17 additions & 11 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@ PATH
danger (~> 8)
danger-commit_lint (~> 0)
danger-swiftlint (~> 0)
danger-xcode_summary (~> 0)
danger-xcode_summary (~> 1)

GEM
remote: https://rubygems.org/
specs:
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
claide (1.0.3)
claide (1.1.0)
claide-plugins (0.9.2)
cork
nap
open4 (~> 1.3)
colored2 (3.1.2)
cork (0.3.0)
colored2 (~> 3.1)
danger (8.4.0)
danger (8.4.2)
claide (~> 1.0)
claide-plugins (>= 0.9.2)
colored2 (~> 3.1)
Expand All @@ -41,30 +41,35 @@ GEM
danger
rake (> 10)
thor (~> 0.19)
danger-xcode_summary (0.5.3)
danger-xcode_summary (1.0.1)
danger-plugin-api (~> 1.0)
faraday (1.8.0)
xcresult (~> 0.2)
faraday (1.9.3)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
faraday-httpclient (~> 1.0.1)
faraday-httpclient (~> 1.0)
faraday-multipart (~> 1.0)
faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.1)
faraday-net_http_persistent (~> 1.0)
faraday-patron (~> 1.0)
faraday-rack (~> 1.0)
multipart-post (>= 1.2, < 3)
faraday-retry (~> 1.0)
ruby2_keywords (>= 0.0.4)
faraday-em_http (1.0.0)
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-http-cache (2.2.0)
faraday (>= 0.8)
faraday-httpclient (1.0.1)
faraday-multipart (1.0.3)
multipart-post (>= 1.2, < 3)
faraday-net_http (1.0.1)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday-rack (1.0.0)
git (1.9.1)
faraday-retry (1.0.3)
git (1.10.2)
rchardet (~> 1.8)
kramdown (2.3.1)
rexml
Expand All @@ -73,7 +78,7 @@ GEM
multipart-post (2.1.1)
nap (1.1.0)
no_proxy_fix (0.1.2)
octokit (4.21.0)
octokit (4.22.0)
faraday (>= 0.9)
sawyer (~> 0.8.0, >= 0.5.3)
open4 (1.3.4)
Expand All @@ -89,6 +94,7 @@ GEM
unicode-display_width (>= 1.1.1, < 3)
thor (0.20.3)
unicode-display_width (2.1.0)
xcresult (0.2.1)

PLATFORMS
ruby
Expand All @@ -97,4 +103,4 @@ DEPENDENCIES
thefuntasty_danger!

BUNDLED WITH
2.2.29
2.2.33
2 changes: 1 addition & 1 deletion thefuntasty_danger.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ Gem::Specification.new do |spec|

spec.add_runtime_dependency 'danger', '~> 8'
spec.add_runtime_dependency 'danger-commit_lint', '~> 0'
spec.add_runtime_dependency 'danger-xcode_summary', '~> 0'
spec.add_runtime_dependency 'danger-xcode_summary', '~> 1'
spec.add_runtime_dependency 'danger-swiftlint', '~> 0'
end

0 comments on commit 781d4f0

Please sign in to comment.