Top Level Namespace
Defined Under Namespace
Modules: CocoapodsNexus, Pod
Instance Method Summary collapse
Instance Method Details
#update_or_add_source(source) ⇒ Object
19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/cocoapods_plugin.rb', line 19 def update_or_add_source(source) name = source.name url = source.url dir = source.repo unless dir.exist? argv = CLAide::ARGV.new([name, url]) cmd = Pod::Command::Nexus::Add.new(argv) cmd.run end end |