class TimeAnalyzeConfig::Build
Public Class Methods
after_all(total_time, detail)
click to toggle source
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 @param total_time [Float] build total time, in second @param detail [Hash] analyze result in hash format @option opts [Integer] :binary_size The size of the binary in final .app product @option opts [Integer] :other_size The size of things except binary size in final .app product
# 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_summary()
click to toggle source
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
# File lib/cocoapods-time-analyze/template/cocoapods_time_analyze_config.rb, line 27 def self.enable_local_summary true end