class CocoapodsMangle::PostInstall
Runs the post mangling post install action
Public Class Methods
new(context)
click to toggle source
@param [CocoapodsMangle::Context] context The context for mangling.
# File lib/cocoapods_mangle/post_install.rb, line 8 def initialize(context) @context = context end
Public Instance Methods
config()
click to toggle source
@return [CocoapodsMangle::Config] The mangling config object
# File lib/cocoapods_mangle/post_install.rb, line 19 def config @config ||= CocoapodsMangle::Config.new(@context) end
run!()
click to toggle source
Run the post install action
# File lib/cocoapods_mangle/post_install.rb, line 13 def run! config.update_mangling! if config.needs_update? config.update_pod_xcconfigs_for_mangling! end