Module ds.parsers.makefile

Subset of Makefile parser.

Global variables

var NestedDict

Generic mapping of a nested dict object.

Functions

def parse_workspace(config: Config, key: str = '') ‑> Dict[pathlib.Path, bool]

Makefile does not support workspaces.

def parse_tasks(config: Config, key: str = 'recipes') ‑> Dict[str, Task]

Tasks are defined in recipes.

def loads(text: str, debug: bool = False) ‑> Dict[str, Dict[str, Any]]

Load a Makefile.