lib/cocoapods-linkline/command/linkline.rb in cocoapods-linkline-0.0.1 vs lib/cocoapods-linkline/command/linkline.rb in cocoapods-linkline-0.0.2
- old
+ new
@@ -1,18 +1,18 @@
require 'cocoapods'
require 'cocoapods/user_interface'
class Pod::Installer::Analyzer
- alias_method :original_generate_pod_targets, :generate_pod_targets
+ alias_method :ll_original_generate_pod_targets, :generate_pod_targets
def generate_pod_targets(resolver_specs_by_target, target_inspections)
- targets = original_generate_pod_targets(resolver_specs_by_target, target_inspections)
+ targets = ll_original_generate_pod_targets(resolver_specs_by_target, target_inspections)
targets.each { |target|
- ll_rebuild_linkage(target,target,nil)
+ ll_rebuild_linkage(target,target)
}
targets
end
- def ll_rebuild_linkage(pod_target,root_pod_target,build_type)
+ def ll_rebuild_linkage(pod_target,root_pod_target)
ll_linkage,is_linkage_all = ll_fetch_linkage_from(pod_target)
if ll_linkage
build_type = ll_create_build_type_from(pod_target,ll_linkage)
is_need_rewrite = ll_is_need_rewrite_build_type(pod_target,ll_linkage)
pod_target.ll_rewrite_build_type(build_type) if is_need_rewrite
\ No newline at end of file