From b1fa96a571036bef597695f8e0e7b7a58d1f3296 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 10 Jan 2026 06:20:32 +0800 Subject: Add platform restrictions to deployment configs - Move build_helper from crates/ to tools/ directory - Specify platform targets for shell completions and entry scripts - Bash scripts now target linux and macos - Powershell scripts target windows - Zsh plugin files target linux and macos --- scripts/deploy/jv_cli.ps1 | 8 ++++---- scripts/deploy/jv_cli.sh | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'scripts/deploy') diff --git a/scripts/deploy/jv_cli.ps1 b/scripts/deploy/jv_cli.ps1 index 22836c7..2761137 100644 --- a/scripts/deploy/jv_cli.ps1 +++ b/scripts/deploy/jv_cli.ps1 @@ -47,11 +47,11 @@ Set-Alias jmv jmv ### COMPLETION ### ################## -if (Test-Path "$SCRIPT_DIR\completions\powershell\completion_jv.ps1") { - . "$SCRIPT_DIR\completions\powershell\completion_jv.ps1" +if (Test-Path "$SCRIPT_DIR\comp\jv.ps1") { + . "$SCRIPT_DIR\comp\jv.ps1" } -if (Test-Path "$SCRIPT_DIR\completions\powershell\completion_jvv.ps1") { - . "$SCRIPT_DIR\completions\powershell\completion_jvv.ps1" +if (Test-Path "$SCRIPT_DIR\comp\jvv.ps1") { + . "$SCRIPT_DIR\comp\jvv.ps1" } ################### diff --git a/scripts/deploy/jv_cli.sh b/scripts/deploy/jv_cli.sh index d732d95..80ff757 100644 --- a/scripts/deploy/jv_cli.sh +++ b/scripts/deploy/jv_cli.sh @@ -58,11 +58,11 @@ alias jvu='jv update' ### COMPLETION ### ################## -if [ -f "$SCRIPT_DIR/completions/bash/completion_jv.sh" ]; then - source "$SCRIPT_DIR/completions/bash/completion_jv.sh" +if [ -f "$SCRIPT_DIR/comp/jv.sh" ]; then + source "$SCRIPT_DIR/comp/jv.sh" fi -if [ -f "$SCRIPT_DIR/completions/bash/completion_jvv.sh" ]; then - source "$SCRIPT_DIR/completions/bash/completion_jvv.sh" +if [ -f "$SCRIPT_DIR/comp/jvv.sh" ]; then + source "$SCRIPT_DIR/comp/jvv.sh" fi ################## -- cgit