Class: TimeAnalyzeConfig::PodInstall

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods-time-analyze/template/cocoapods_time_analyze_config.rb

Class Method Summary collapse

Class Method Details

.after_all(total_time, detail, installer) ⇒ Object

do anything you want to do after pod install, for example, you can send the result to a server this method will be executed in the directory the ‘pod install` command called.



19
20
21
# File 'lib/cocoapods-time-analyze/template/cocoapods_time_analyze_config.rb', line 19

def self.after_all(total_time, detail, installer)
  # something awesome
end

.enable_local_summaryObject

by default the plugin will generate a summary yaml file named pod-install-summary.yml under directory, you can use this method to override this behaviour



5
6
7
# File 'lib/cocoapods-time-analyze/template/cocoapods_time_analyze_config.rb', line 5

def self.enable_local_summary
  true
end

.target_stepsObject

add the step you want to analyze to this method



10
11
12
# File 'lib/cocoapods-time-analyze/template/cocoapods_time_analyze_config.rb', line 10

def self.target_steps
  %w[]
end