Class: Xcov::Manager
- Inherits:
-
Object
- Object
- Xcov::Manager
- Defined in:
- lib/xcov/manager.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ Manager
constructor
A new instance of Manager.
- #run ⇒ Object
Constructor Details
#initialize(options) ⇒ Manager
Returns a new instance of Manager.
13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/xcov/manager.rb', line 13 def initialize() # Set command options Xcov.config = # Set project options FastlaneCore::Project.detect_projects() Xcov.project = FastlaneCore::Project.new() # Set ignored files handler Xcov.ignore_handler = IgnoreHandler.new # Print summary FastlaneCore::PrintTable.print_values(config: , hide_keys: [:slack_url], title: "Summary for xcov #{Xcov::VERSION}") end |
Instance Method Details
#run ⇒ Object
28 29 30 31 32 33 34 |
# File 'lib/xcov/manager.rb', line 28 def run # Run xcov json_report = parse_xccoverage report = generate_xcov_report(json_report) validate_report(report) submit_to_coveralls(report) end |