lib/cocoapods-bb-PodAssistant/podfile.rb in cocoapods-bb-PodAssistant-0.3.3 vs lib/cocoapods-bb-PodAssistant/podfile.rb in cocoapods-bb-PodAssistant-0.3.4.2

- old
+ new

@@ -2,10 +2,11 @@ require 'cocoapods-core/podfile/dsl' require 'uri' require 'cocoapods-bb-PodAssistant' require 'cocoapods-bb-PodAssistant/helpers/pod_module_helper' require 'cocoapods-bb-PodAssistant/helpers/stable_manager_helper' +require 'cocoapods-bb-PodAssistant/config/source_manager' # 参数 # :name, :names, # :git, :git_format, # :root_path, :path, :path_format, @@ -45,9 +46,14 @@ module Pod class Podfile # @!group DSL support include Pod::Podfile::DSL + # 生成pod模块配置文件 + def generate_pod_module_dependency_run(pod_names=[]) + source_manager = BB::SourceManager.new() + source_manager.generate_pod_module_dependency(pod_names) + end # pod组件合并操作(项目) def project_pod_module_run(pod_modules, member_modules = {}, member_configs = [], skip_stable_check = false) # Pod::UI.puts "Pod Module:#{pod_modules}" time1 = Time.new puts "[PodAssistant]项目pod组件组装开始操作时间:#{time1}".green \ No newline at end of file