lib/command/executor/fetcher.rb in cocoapods-binary-artifactory-cache-0.0.2 vs lib/command/executor/fetcher.rb in cocoapods-binary-artifactory-cache-0.0.3
- old
+ new
@@ -7,10 +7,11 @@
class CacheFetcher < CommandExecutor
@resolved_targets = []
def initialize(options)
super(options)
+ @repo_update = options[:repo_update]
end
def run
Pod::UI.step("Fetching cache") do
FileUtils.mkdir_p(@config.prebuild_sandbox_path)
@@ -18,10 +19,10 @@
sandbox: Pod::PrebuildSandbox.from_standard_sandbox(installer.sandbox),
podfile: installer.podfile,
lockfile: installer.lockfile,
cache_validation: nil
)
-
+ @binary_installer.repo_update = @repo_update
Pod::UI.title("Generate Manifest") do
@binary_installer.clean_delta_file
@binary_installer.install!
end
@resolved_targets = @binary_installer.pod_targets