MakefileRunner
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| TaskRunner anyenv.task_runners._base Base class for task runner configurations. |
⋔ Inheritance diagram¶
graph TD
1621783533["_makefile.MakefileRunner"]
3225203877["_base.TaskRunner"]
2751680898["builtins.object"]
3225203877 --> 1621783533
2751680898 --> 3225203877
🛈 DocStrings¶
Bases: TaskRunner
Task runner for GNU Make.
Source code in src/anyenv/task_runners/_makefile.py
get_run_command
¶
get_tasks
async
¶
get_tasks(fs: AsyncFileSystem, cwd: str) -> list[TaskInfo]
Parse Makefile and return available targets.
Extracts targets with optional descriptions from ## comments. Prioritizes .PHONY targets as they represent runnable tasks.