Class: Pod::Command::Change

Inherits:
DevCommand show all
Defined in:
lib/cocoapods-devtool/command/change.rb

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ Change

Returns a new instance of Change.



15
16
17
# File 'lib/cocoapods-devtool/command/change.rb', line 15

def initialize(argv)
        super
end

Instance Method Details

#runObject



25
26
27
# File 'lib/cocoapods-devtool/command/change.rb', line 25

def run
 self.change_project
end

#validate!Object



19
20
21
22
23
# File 'lib/cocoapods-devtool/command/change.rb', line 19

def validate!
  super
  settingTool = UserSetting::Setting.new()
  help! "请先用pod devtool setting设置change_bundle_pre和dev_team" if settingTool.dev_team.empty? || settingTool.change_bundle_pre.empty?
end