Skip to content

Commit 11ae5bb

Browse files
committed
feat: add jake
1 parent 1137394 commit 11ae5bb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/runners/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ pub mod vstasks;
2323
pub mod xtask;
2424
pub mod xtask_go;
2525
pub mod zed;
26+
pub mod jakefile;
2627

2728
use crate::command_utils::CommandOutput;
2829
use crate::errors::KeeperError;
@@ -32,6 +33,7 @@ use error_stack::{report, Result};
3233
pub const RUNNERS: &'static [&'static str] = &[
3334
"ant",
3435
"rake",
36+
"jake",
3537
"invoke",
3638
"task",
3739
"cargo-make",
@@ -79,6 +81,7 @@ pub fn run_task(
7981
"deno" => denojson::run_task(task_name, task_args, global_args, verbose),
8082
"make" => makefile::run_task(task_name, task_args, global_args, verbose),
8183
"rake" => rakefile::run_task(task_name, task_args, global_args, verbose),
84+
"jake" => jakefile::run_task(task_name, task_args, global_args, verbose),
8285
"task" => taskfileyml::run_task(task_name, task_args, global_args, verbose),
8386
"invoke" => taskspy::run_task(task_name, task_args, global_args, verbose),
8487
"cargo-make" => makefiletoml::run_task(task_name, task_args, global_args, verbose),
@@ -105,6 +108,7 @@ pub fn get_runner_file_name(runner: &str) -> &'static str {
105108
match runner {
106109
"ant" => "build.xml",
107110
"rake" => "Rakefile",
111+
"jake" => "jakefile.js",
108112
"invoke" => "tasks.py",
109113
"task" => "Taskfile.yml",
110114
"cargo-make" => "Makefile.toml",
@@ -135,6 +139,7 @@ pub fn get_runner_web_url(runner: &str) -> &'static str {
135139
match runner {
136140
"ant" => "https://ant.apache.org/",
137141
"rake" => "https://ruby.github.io/rake/",
142+
"jake" => "https://jakejs.com/",
138143
"invoke" => "https://www.pyinvoke.org",
139144
"task" => "https://taskfile.dev",
140145
"cargo-make" => "https://github.com/sagiegurari/cargo-make",

0 commit comments

Comments
 (0)