diff --git a/src/taskfile/config.rs b/src/taskfile/config.rs index e8fcb22..b5036fe 100644 --- a/src/taskfile/config.rs +++ b/src/taskfile/config.rs @@ -91,6 +91,8 @@ fn handle_includes(includes: Vec, current_path: &str) -> Result Result> { bail!("failed to extract tasks") } + tasks.sort_by(|a, b| a.name.cmp(&b.name)); + Ok(tasks) }