Class: Pod::Command::Bin::Lock
- Inherits:
 - 
      Pod::Command::Bin
      
        
- Object
 - Pod::Command
 - Pod::Command::Bin
 - Pod::Command::Bin::Lock
 
 
- Includes:
 - Config::Mixin, Pod
 
- Defined in:
 - lib/cocoapods-mtxx-bin/command/bin/lock.rb,
lib/cocoapods-mtxx-bin/command/bin/lock/version.rb,
lib/cocoapods-mtxx-bin/command/bin/lock/spec_repo.rb,
lib/cocoapods-mtxx-bin/command/bin/lock/dependency.rb 
Direct Known Subclasses
Defined Under Namespace
Classes: Dependency, SpecRepo, Version
Instance Method Summary collapse
- 
  
    
      #analyze  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
依赖分析.
 - 
  
    
      #initialize(argv)  ⇒ Lock 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Lock.
 - #run ⇒ Object
 
Methods included from Pod
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) ⇒ Lock
Returns a new instance of Lock.
      15 16 17  | 
    
      # File 'lib/cocoapods-mtxx-bin/command/bin/lock.rb', line 15 def initialize(argv) super end  | 
  
Instance Method Details
#analyze ⇒ Object
依赖分析
      27 28 29 30 31 32  | 
    
      # File 'lib/cocoapods-mtxx-bin/command/bin/lock.rb', line 27 def analyze UI.title 'Analyze dependencies'.green do analyzer = Pod::Installer::Analyzer.new(config.sandbox, config.podfile, config.lockfile) analyzer.analyze(true ) end end  | 
  
#run ⇒ Object
      19 20 21 22 23 24  | 
    
      # File 'lib/cocoapods-mtxx-bin/command/bin/lock.rb', line 19 def run # 校验Podfile是否存在 verify_podfile_exists! # 依赖分析 @analyze_result = analyze end  |