Currently the idea is to later implement a -h (or -t) option to the command, and/or a `target' recipe keyword. Another option might be to use the target/host key when the key/value registry will be implemented and made available to the recipe and task DSLs.
8 lines
166 B
Ruby
8 lines
166 B
Ruby
Given(/^a recipe with:$/) do |recipe_body|
|
|
write_file 'recipe.rb', recipe_body
|
|
end
|
|
|
|
When(/^I execute the recipe$/) do
|
|
run_simple('producer recipe.rb', false)
|
|
end
|