feat: support stew (#422)
This commit is contained in:
@@ -150,6 +150,7 @@ pub enum Step {
|
||||
Sparkle,
|
||||
Spicetify,
|
||||
Stack,
|
||||
Stew,
|
||||
System,
|
||||
Tldr,
|
||||
Tlmgr,
|
||||
|
||||
@@ -403,6 +403,7 @@ For more information about this issue see https://askubuntu.com/questions/110969
|
||||
runner.execute(Step::Julia, "julia", || generic::update_julia_packages(&ctx))?;
|
||||
runner.execute(Step::Haxelib, "haxelib", || generic::run_haxelib_update(&ctx))?;
|
||||
runner.execute(Step::Sheldon, "sheldon", || generic::run_sheldon(&ctx))?;
|
||||
runner.execute(Step::Stew, "stew", || generic::run_stew(run_type))?;
|
||||
runner.execute(Step::Rtcl, "rtcl", || generic::run_rtcl(&ctx))?;
|
||||
runner.execute(Step::Bin, "bin", || generic::bin_update(&ctx))?;
|
||||
runner.execute(Step::Gcloud, "gcloud", || {
|
||||
|
||||
@@ -726,3 +726,10 @@ pub fn run_helm_repo_update(run_type: RunType) -> Result<()> {
|
||||
Err(eyre!(StepFailed))
|
||||
}
|
||||
}
|
||||
|
||||
pub fn run_stew(run_type: RunType) -> Result<()> {
|
||||
let stew = require("stew")?;
|
||||
|
||||
print_separator("stew");
|
||||
run_type.execute(stew).args(["upgrade", "--all"]).status_checked()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user