Esempio n. 1
0
 def skip_uptodate(self, task: doit.task.Task) -> None:
     """Called when a task is skipped (up-to-date)."""
     self.write('-- {}\n'.format(task.title()))
Esempio n. 2
0
 def skip_ignore(self, task: doit.task.Task) -> None:
     """Called when a task is skipped (ignored)."""
     self.write('!! {}\n'.format(task.title()))
Esempio n. 3
0
 def execute_task(self, task: doit.task.Task) -> None:
     """Called when a task is executed."""
     # Ignore tasks that do not define actions.
     if task.actions:
         self.write('.  {}\n'.format(task.title()))