Add Yazi step (#1134)

This commit is contained in:
Gideon
2025-04-21 05:45:01 +02:00
committed by GitHub
parent a2f57e4769
commit ce8a325c1f
3 changed files with 10 additions and 0 deletions

View File

@@ -191,6 +191,7 @@ pub enum Step {
Xcodes,
Yadm,
Yarn,
Yazi,
Zigup,
Zvm,
}

View File

@@ -502,6 +502,7 @@ fn run() -> Result<()> {
runner.execute(Step::JetbrainsWebstorm, "JetBrains WebStorm plugins", || {
generic::run_jetbrains_webstorm(&ctx)
})?;
runner.execute(Step::Yazi, "Yazi packages", || generic::run_yazi(&ctx))?;
if should_run_powershell {
runner.execute(Step::Powershell, "Powershell Modules Update", || {

View File

@@ -1584,3 +1584,11 @@ pub fn run_jetbrains_rustrover(ctx: &ExecutionContext) -> Result<()> {
pub fn run_jetbrains_webstorm(ctx: &ExecutionContext) -> Result<()> {
run_jetbrains_ide(ctx, require("webstorm")?, "WebStorm")
}
pub fn run_yazi(ctx: &ExecutionContext) -> Result<()> {
let ya = require("ya")?;
print_separator("Yazi packages");
ctx.run_type().execute(ya).args(["pack", "-u"]).status_checked()
}