Class: TimeAnalyzeConfig::Build

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) ⇒ Object

do anything you want to do after build, for example, you can send the result to a server this method will be executed under Xcode derived data directory, and you can use ENV to fetch environment variables of xcode build

Parameters:

  • total_time (Float)

    build total time, in second

  • detail (Hash)

    analyze result in hash format

  • opts (Hash)

    a customizable set of options



38
39
40
# File 'lib/cocoapods-time-analyze/template/cocoapods_time_analyze_config.rb', line 38

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

.enable_local_summaryObject

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



27
28
29
# File 'lib/cocoapods-time-analyze/template/cocoapods_time_analyze_config.rb', line 27

def self.enable_local_summary
  true
end