lib/kameleon/cli.rb in kameleon-builder-2.7.7 vs lib/kameleon/cli.rb in kameleon-builder-2.7.8
- old
+ new
@@ -201,11 +201,10 @@
"\"#{options[:from_cache]}\" do not exists"
end
Kameleon.ui.info("Using the cached recipe")
@cache = Kameleon::Persistent_cache.instance
@cache.cache_path = options[:from_cache]
- recipe_path = @cache.get_recipe
end
dag = nil
color = 0
recipe_paths.each do |path|
recipe = Kameleon::Recipe.new(path)
@@ -213,9 +212,10 @@
Kameleon::Engine.new(recipe, options).dryrun
elsif options[:dag]
dag = Kameleon::Engine.new(recipe, options).dag(dag, color)
color += 1
else
+ recipe.resolve!
recipe.display_info(options[:relative])
end
end
if options[:dag]
format = "canon"