2019-05-23 21:03:59 +00:00
|
|
|
$git_root = "https://github.com/passepartoutvpn"
|
|
|
|
|
2019-05-23 21:13:45 +00:00
|
|
|
def pod_version(name, specs, version)
|
2019-05-23 21:03:59 +00:00
|
|
|
specs.each { |s|
|
|
|
|
pod "#{name}/#{s}", version
|
|
|
|
}
|
|
|
|
end
|
|
|
|
|
2019-05-23 21:13:45 +00:00
|
|
|
def pod_git(name, specs, sha)
|
2019-05-23 21:03:59 +00:00
|
|
|
specs.each { |s|
|
|
|
|
pod "#{name}/#{s}", :git => "#{$git_root}/#{name.downcase}", :commit => sha
|
|
|
|
}
|
|
|
|
end
|
|
|
|
|
2019-05-23 21:13:45 +00:00
|
|
|
def pod_path(name, specs, root)
|
2019-05-23 21:03:59 +00:00
|
|
|
specs.each { |s|
|
|
|
|
pod "#{name}/#{s}", :path => "#{root}/#{name.downcase}"
|
|
|
|
}
|
|
|
|
end
|