evariste.plugins.action¶
Actions performed to compile files.
The result of an action
(Was it sucessful? Which files were used? What is the log? etc.)
is stored as a report.
If you plan to write your own action plugin, see Write action plugins.
Action¶
- class evariste.plugins.action.Action(shared)[source]¶
Generic action
Subclass this to create a new action (see Write action plugins).
- abstractmethod compile(path: Tree) Report[source]¶
Compile
path.This function must be thread-safe. It can use
Action.lockif necessary.
- lock: lock = <unlocked _thread.lock object>¶
A lock shared by every action. Can be used for parts of the compilation which are not thread-safe.