lib/kameleon/engine.rb in kameleon-builder-2.6.1 vs lib/kameleon/engine.rb in kameleon-builder-2.6.2
- old
+ new
@@ -41,9 +41,10 @@
@cache.mode = @options[:enable_cache] ? :build : :from
@cache.cache_path = @options[:from_cache]
# I'm passing the Pathname objects
@cache.recipe_files = @recipe.all_files
@cache.recipe_path = @recipe.path
+ @cache.archive_format = @options[:cache_archive_compression]
if @recipe.global["in_context"]["proxy_cache"].nil? then
raise BuildError, "Missing varible for in context 'proxy_cache' when using the option --cache"
end