summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-01-04 17:10:57 +0800
committer魏曹先生 <1992414357@qq.com>2026-01-04 17:10:57 +0800
commitbd05f948f44e493322272262fcb366c58f08110a (patch)
tree1ba32d025cff1679be8edf78cbad2672abb82494
parent8eda07df4cd8953fbf73a8d3cebd1adcf97d6d2b (diff)
Add deploy script for CLI build on Linux
The previous method used `cargo build` directly. Now we use the existing `deploy.sh` script, which handles the build and installation in a standardized way across platforms.
-rw-r--r--setup/linux/inst.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup/linux/inst.sh b/setup/linux/inst.sh
index bbebeb8..519121b 100644
--- a/setup/linux/inst.sh
+++ b/setup/linux/inst.sh
@@ -47,8 +47,8 @@ chmod +x setup.sh
# Build CLI
echo "Building CLI..."
cd ../CommandLine
-cargo build --release
-cargo export
+chmod +x deploy.sh
+./deploy.sh
# Configure shell to include CLI in PATH
echo "Now adding JustEnoughVCS CLI to your environment. Please select your target shell:"