lib/command/executor/prebuilder.rb in cocoapods-binary-cache-0.1.8 vs lib/command/executor/prebuilder.rb in cocoapods-binary-cache-0.1.9
- old
+ new
@@ -6,10 +6,11 @@
class CachePrebuilder < CommandExecutor
def initialize(options)
super(options)
@cache_branch = options[:cache_branch]
@push_cache = options[:push_cache]
+ @repo_update = options[:repo_update]
@fetcher = PodPrebuild::CacheFetcher.new(options)
@pusher = PodPrebuild::CachePusher.new(options)
end
def run
@@ -24,9 +25,10 @@
private
def prebuild
Pod::UI.step("Installation") do
+ installer.repo_update = @repo_update
installer.install!
end
end
def sync_cache(changes)