Class: Pod::Command::Binary::Assemble
Constant Summary
FIRE_FLAG
Instance Method Summary
collapse
#fire_sources, #first_podspec
Instance Method Details
#run ⇒ Object
22
23
24
25
26
27
|
# File 'lib/cocoapods-tdfire-binary/command/assemble.rb', line 22
def run
run_command Package, ['--clean']
run_command Lint
run_command Push
run_command Publish
end
|
#run_command(command_class, argv = []) ⇒ Object
29
30
31
32
33
34
|
# File 'lib/cocoapods-tdfire-binary/command/assemble.rb', line 29
def run_command(command_class, argv = [])
lint = command_class::new(CLAide::ARGV.new(argv))
lint.validate!
lint.run
Pod::Tdfire::BinaryStateStore.printed_pods.clear
end
|
#validate! ⇒ Object
17
18
19
20
|
# File 'lib/cocoapods-tdfire-binary/command/assemble.rb', line 17
def validate!
super
help! "当前目录下找不到有效的 podspec 文件" if first_podspec.nil?
end
|