Add Env class
This commit is contained in:
@@ -13,7 +13,9 @@ module Producer
|
||||
def run!
|
||||
print_usage_and_exit(64) unless @arguments.length == 2
|
||||
|
||||
Recipe.from_file(@arguments[1]).evaluate
|
||||
recipe = Recipe.from_file(@arguments[1])
|
||||
env = Env.new(recipe)
|
||||
recipe.evaluate env
|
||||
end
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user