Class: Pod::Command::Repo::Push
- Inherits:
-
Pod::Command::Repo
- Object
- Pod::Command
- Pod::Command::Repo
- Pod::Command::Repo::Push
- Defined in:
- lib/cocoapods-util/command/cocoapods-extend/repo/push_helper.rb
Instance Attribute Summary collapse
-
#skip_build ⇒ Object
Returns the value of attribute skip_build.
-
#skip_validate ⇒ Object
Returns the value of attribute skip_validate.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#skip_build ⇒ Object
Returns the value of attribute skip_build.
5 6 7 |
# File 'lib/cocoapods-util/command/cocoapods-extend/repo/push_helper.rb', line 5 def skip_build @skip_build end |
#skip_validate ⇒ Object
Returns the value of attribute skip_validate.
5 6 7 |
# File 'lib/cocoapods-util/command/cocoapods-extend/repo/push_helper.rb', line 5 def skip_validate @skip_validate end |
Class Method Details
.options ⇒ Object
8 9 10 11 12 13 |
# File 'lib/cocoapods-util/command/cocoapods-extend/repo/push_helper.rb', line 8 def self. [ ['--skip-validate', '跳过整个验证,不验证推送的podspec文件,默认为验证'], ['--skip-build', '跳过编译过程,还是会校验pod下载和依赖'] ].concat(self.) end |
Instance Method Details
#check_repo_status ⇒ Object
24 25 26 |
# File 'lib/cocoapods-util/command/cocoapods-extend/repo/push_helper.rb', line 24 def check_repo_status old_check_repo_status unless @skip_validate end |
#old_check_repo_status ⇒ Object
23 |
# File 'lib/cocoapods-util/command/cocoapods-extend/repo/push_helper.rb', line 23 alias_method :old_check_repo_status, :check_repo_status |