Class: Pod::Command::Bin::OutputSource
- Inherits:
 - 
      Pod::Command::Bin
      
        
- Object
 - Pod::Command
 - Pod::Command::Bin
 - Pod::Command::Bin::OutputSource
 
 
- Defined in:
 - lib/cocoapods-mtxx-bin/command/bin/outputSource.rb
 
Class Method Summary collapse
Instance Method Summary collapse
- 
  
    
      #initialize(argv)  ⇒ OutputSource 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of OutputSource.
 - #run ⇒ Object
 
Methods included from CBin::SpecFilesHelper
#binary_spec, #binary_spec_files, #binary_template_spec, #binary_template_spec_file, #binary_template_spec_files, #clear_binary_spec_file_if_needed, #code_spec, #code_spec_files, #create_binary_spec_file, #find_spec_file, #spec_files
Methods included from CBin::SourcesHelper
#binary_source, #code_source_list, #sources_manager, #sources_option, #valid_sources
Constructor Details
#initialize(argv) ⇒ OutputSource
Returns a new instance of OutputSource.
      24 25 26 27  | 
    
      # File 'lib/cocoapods-mtxx-bin/command/bin/outputSource.rb', line 24 def initialize(argv) @error_source = argv.flag?('error-source', false) super end  | 
  
Class Method Details
.options ⇒ Object
      18 19 20 21 22  | 
    
      # File 'lib/cocoapods-mtxx-bin/command/bin/outputSource.rb', line 18 def self. [ %w[--error-source 过滤异常的source,比如http的,CI打包只支持SSH认证] ].concat(super).uniq end  | 
  
Instance Method Details
#run ⇒ Object
      29 30 31 32 33 34 35 36 37 38 39 40  | 
    
      # File 'lib/cocoapods-mtxx-bin/command/bin/outputSource.rb', line 29 def run # 开始时间 @start_time = Time.now.to_i # 更新repo仓库 repo_update # 分析依赖 @analyze_result = analyse # 打印source show_cost_source # 计算耗时 show_cost_time end  |