Thibault Jouan
e6c14f1903
Implement basic task actions API:
...
* Add Action base class;
* Implement Task::DSL.define_action(keyword, klass);
* Add Task::DSL#actions accessor;
* Apply task DSL actions when Task instances are evaluated.
2013-08-04 20:30:54 +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
b1c99dbeeb
Extract task DSL code and spec
2013-08-01 00:01:19 +00:00