Improve source recipe keyword feature:

* Improve error reporting from sourced recipe;
* Extract cucumber feature from recipe one.
This commit is contained in:
Thibault Jouan
2013-07-30 22:47:32 +00:00
parent b1c99dbeeb
commit 3792f60a5c
4 changed files with 45 additions and 16 deletions

View File

@@ -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)