Thibault Jouan
0904fa1fc9
Implement Worker class:
...
* Move recipe processing code in the worker;
* Refactor CLI and use the the worker;
* Implement Recipe#tasks and remove tasks application during evaluation,
tasks are now applied by the worker after all evaluations are done.
2013-08-10 14:47:02 +00:00
Thibault Jouan
c4fc9828db
Improve error reporting during recipe evaluation
...
* Report invalid action usages from tasks;
* Implement backtrace cleaning in CLI;
* Extract error class declarations in a new errors file;
* Replace raise with fail keyword in task DSL class.
2013-08-01 20:31:39 +00:00
Thibault Jouan
ace6a4ad2b
Implement Task::DSL#evaluate:
...
So that the env is available from the task DSL.
2013-08-01 00:01:20 +00:00
Thibault Jouan
2939123574
Extract recipe DSL code and spec
2013-08-01 00:01:19 +00:00
Thibault Jouan
e12dd5c0e7
Implement recipe error reporting feature
2013-08-01 00:01:15 +00:00
Thibault Jouan
10bfe17c56
Remove extra #each call in Recipe#evaluate
2013-07-30 14:48:07 +00:00
Thibault Jouan
d199ba56fd
Add Env class
2013-07-30 14:47:56 +00:00
Thibault Jouan
30e1930719
Implement Recipe::DSL#evaluate method:
...
Move recipe DSL evaluation in a dedicated #evaluate method, instead of
evaluating the code during the DSL instantiation.
2013-07-30 14:46:27 +00:00
Thibault Jouan
37e17d1030
Implement Recipe#filepath method:
...
Returns the filepath of the recipe when it is built from a file.
2013-07-30 14:46:27 +00:00
Thibault Jouan
baaa957e9e
Implement task evaluation feature
2013-07-28 19:18:53 +00:00
Thibault Jouan
c7295fb977
Implement source keyword feature for recipes
2013-07-28 18:38:00 +00:00
Thibault Jouan
8e4f670fbf
Introduce Recipe::DSL to eval recipe DSL code
2013-07-28 18:08:16 +00:00
Thibault Jouan
0921be9ab0
Implement recipe evaluation feature
2013-07-27 18:20:45 +00:00