Class: TimeAnalyzeConfig::PodInstall
- Inherits:
-
Object
- Object
- TimeAnalyzeConfig::PodInstall
- Defined in:
- lib/cocoapods-time-analyze/template/cocoapods_time_analyze_config.rb
Class Method Summary collapse
-
.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.
-
.enable_local_summary ⇒ Object
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.
-
.target_steps ⇒ Object
add the step you want to analyze to this method.
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_summary ⇒ Object
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_steps ⇒ Object
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 |