Class: Pod::Command::Repo::Push

Inherits:
Pod::Command::Repo show all
Defined in:
lib/cocoapods-util/command/cocoapods-extend/repo/push_helper.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#skip_buildObject

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_validateObject

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

.optionsObject



8
9
10
11
12
13
# File 'lib/cocoapods-util/command/cocoapods-extend/repo/push_helper.rb', line 8

def self.options
  [
    ['--skip-validate', '跳过整个验证,不验证推送的podspec文件,默认为验证'],
    ['--skip-build', '跳过编译过程,还是会校验pod下载和依赖']
  ].concat(self.old_options)
end

Instance Method Details

#check_repo_statusObject



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_statusObject



23
# File 'lib/cocoapods-util/command/cocoapods-extend/repo/push_helper.rb', line 23

alias_method :old_check_repo_status, :check_repo_status