Skip to main content

find_task_files

Function find_task_files 

Source
pub fn find_task_files(start: &Path) -> Vec<(PathBuf, TaskFile)>
Expand description

Search for task files from start up to the filesystem root, nearest first. In each ancestor directory the first of tasks.md, maskfile.md, README.md that parses to at least one job is taken. The CLI layers these child-first, so a nearer file shadows a farther one by job name (like just’s set fallback, letting a project inherit a baseline of jobs from a parent). Embedders with their own project root can ignore this and call parse.