lib/command/executor/prebuilder.rb in cocoapods-binary-cache-0.1.1 vs lib/command/executor/prebuilder.rb in cocoapods-binary-cache-0.1.2
- old
+ new
@@ -37,9 +37,10 @@
zip_to_cache(changes["updated"])
end
end
def zip_to_cache(pods_to_update)
+ FileUtils.mkdir_p(@config.generated_frameworks_dir(in_cache: true))
pods_to_update.each do |pod|
Pod::UI.puts "- Update cache: #{pod}"
ZipUtils.zip(
"#{@config.generated_frameworks_dir}/#{pod}",
to_dir: @config.generated_frameworks_dir(in_cache: true)