30 lines
538 B
Python
Executable File
30 lines
538 B
Python
Executable File
#!/usr/bin/env python
|
|
# encoding: utf-8
|
|
|
|
"""
|
|
Producing then compiling templates
|
|
"""
|
|
|
|
from bopytex.actions import ACTIONS
|
|
from bopytex.scheduler import Scheduler
|
|
|
|
|
|
def orcherstrator(
|
|
options: dict,
|
|
planner,
|
|
actions: dict = ACTIONS,
|
|
):
|
|
tasks = planner(options)
|
|
|
|
scheduler = Scheduler([options["template"]])
|
|
scheduler.append(tasks)
|
|
|
|
for task in scheduler.backlog():
|
|
yield task
|
|
|
|
|
|
# -----------------------------
|
|
# Reglages pour 'vim'
|
|
# vim:set autoindent expandtab tabstop=4 shiftwidth=4:
|
|
# cursor: 16 del
|