lib/xcov/manager.rb in xcov-0.5 vs lib/xcov/manager.rb in xcov-0.6

- old
+ new

@@ -2,11 +2,23 @@ module Xcov class Manager def work(options) + # Set command options Xcov.config = options - FastlaneCore::PrintTable.print_values(config: options, hide_keys: [:slack_url], title: "Summary for xCov #{Xcov::VERSION}") + + # Set project options + FastlaneCore::Project.detect_projects(options) + Xcov.project = FastlaneCore::Project.new(options) + + # Set ignored files list + Xcov.ignore_list = IgnoreHandler.new.read_ignore_file + + # Print summary + FastlaneCore::PrintTable.print_values(config: options, hide_keys: [:slack_url], title: "Summary for xcov #{Xcov::VERSION}") + + # Run xcov Runner.new.run end end end