Class: Pod::Command::Privacy::Install
- Inherits:
-
Pod::Command::Privacy
- Object
- Pod::Command
- Pod::Command::Privacy
- Pod::Command::Privacy::Install
- Defined in:
- lib/cocoapods-privacy/command/privacy/install.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(argv) ⇒ Install
constructor
A new instance of Install.
- #run ⇒ Object
Constructor Details
#initialize(argv) ⇒ Install
Returns a new instance of Install.
19 20 21 22 |
# File 'lib/cocoapods-privacy/command/privacy/install.rb', line 19 def initialize(argv) @folds = argv.option('folds', '').split(',') super end |
Class Method Details
.options ⇒ Object
13 14 15 16 17 |
# File 'lib/cocoapods-privacy/command/privacy/install.rb', line 13 def self. [ ["--folds=folds", '传入自定义搜索文件夹,多个文件目录使用“,”分割'], ].concat(super) end |
Instance Method Details
#run ⇒ Object
24 25 26 27 28 29 30 31 32 33 |
# File 'lib/cocoapods-privacy/command/privacy/install.rb', line 24 def run verify_podfile_exists! installer = installer_for_config installer.repo_update = false installer.update = false installer.deployment = false installer.clean_install = false installer.privacy_analysis(@folds) end |