lib/xcode_summary/plugin.rb
# Reads a file with JSON Xcode summary and reports it.
#
# @param    [String] file_path Path for Xcode summary in JSON format.
# @return   [void]
Reads a file with JSON Xcode summary and reports it.
Reads a file with JSON Xcode summary and reports it .
def report(file_path)
      if File.file?(file_path)
        xcode_summary = JSON.parse(File.read(file_path), symbolize_names: true)
        format_summary(xcode_summary)
      else
        fail 'summary file not found'
      end
    end
def report ( file_path ) if File . file? ( file_path ) xcode_summary = JSON . parse ( File . read ( file_path ) , symbolize_names : true ) format_summary ( xcode_summary ) else fail 'summary file not found' end end
Reads a file with JSON Xcode summary and reports it.
Reads a file with JSON Xcode summary and reports it .
None
void
file_path
<not_specific>
<not_specific>
file_path Path for Xcode summary in JSON format.
file_path Path for Xcode summary in JSON format .