diff --git a/src/config.rs b/src/config.rs index c763de43..93461840 100644 --- a/src/config.rs +++ b/src/config.rs @@ -103,6 +103,7 @@ pub enum Step { Asdf, Atom, Bin, + Bob, BrewCask, BrewFormula, Bun, diff --git a/src/main.rs b/src/main.rs index a232440f..fde09559 100644 --- a/src/main.rs +++ b/src/main.rs @@ -363,6 +363,7 @@ fn run() -> Result<()> { runner.execute(Step::GithubCliExtensions, "GitHub CLI Extensions", || { generic::run_ghcli_extensions_upgrade(&ctx) })?; + runner.execute(Step::Bob, "Bob", || generic::run_bob(&ctx))?; if config.use_predefined_git_repos() { if config.should_run(Step::Emacs) { diff --git a/src/steps/generic.rs b/src/steps/generic.rs index afc8482d..eda6ab27 100644 --- a/src/steps/generic.rs +++ b/src/steps/generic.rs @@ -784,3 +784,11 @@ pub fn run_stew(ctx: &ExecutionContext) -> Result<()> { print_separator("stew"); ctx.run_type().execute(stew).args(["upgrade", "--all"]).status_checked() } + +pub fn run_bob(ctx: &ExecutionContext) -> Result<()> { + let bob = require("bob")?; + + print_separator("Bob"); + + ctx.run_type().execute(bob).args(["update", "--all"]).status_checked() +}