Class: Pod::Command::FastlaneSign

Inherits:
Pod::Command show all
Defined in:
lib/cocoapods-hooks/command/fastlane_sign.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ FastlaneSign

Returns a new instance of FastlaneSign.



8
9
10
# File 'lib/cocoapods-hooks/command/fastlane_sign.rb', line 8

def initialize(argv)
  super
end

Class Method Details

.optionsObject



12
13
14
15
16
# File 'lib/cocoapods-hooks/command/fastlane_sign.rb', line 12

def self.options
  [

  ].concat(super)
end

Instance Method Details

#runObject



22
23
24
25
26
27
28
29
# File 'lib/cocoapods-hooks/command/fastlane_sign.rb', line 22

def run
  # 执行你的业务逻辑
  result = system("fastlane ios configAllProject")
  unless result
      puts "command execution failed. Exiting..."
      exit 1
  end
end

#validate!Object



18
19
20
# File 'lib/cocoapods-hooks/command/fastlane_sign.rb', line 18

def validate!
  super
end