Improve source recipe keyword feature:
* Improve error reporting from sourced recipe; * Extract cucumber feature from recipe one.
This commit is contained in:
@@ -27,7 +27,7 @@ module Producer
|
||||
private
|
||||
|
||||
def source(filepath)
|
||||
instance_eval File.read("./#{filepath}.rb")
|
||||
instance_eval File.read("./#{filepath}.rb"), "#{filepath}.rb"
|
||||
end
|
||||
|
||||
def task(name, &block)
|
||||
|
Reference in New Issue
Block a user