def make_task_dict(
    component: str,
    component_relative_path: str,
    task_desc: str,
    make_command: str,
):
    """
    Create task-dict for an individual task.
    """
    return {
        "label": f"({component}: {task_desc})",
        "type": "shell",
        "command": f"""(cd {component_relative_path}; find . | grep ".py" | entr {make_command})""",
        "group": {"kind": "build", "isDefault": True},
        "presentation": {
            "reveal": "always",
            "panel": "new",
            # terminals in the group are shown side-by-side
            "group": f"terminal-group-id={component}",
        },
        "problemMatcher": [],
    }