mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
68c1455d08
commit
9b63315d5d
3 changed files with 3 additions and 1 deletions
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
|
|
@ -64,6 +64,7 @@ jobs:
|
|||
TARGET_NAME: yazi-${{ matrix.target }}
|
||||
run: |
|
||||
New-Item -ItemType Directory -Path ${env:TARGET_NAME}
|
||||
Copy-Item -Path "target\${{ matrix.target }}\release\ya.exe" -Destination ${env:TARGET_NAME}
|
||||
Copy-Item -Path "target\${{ matrix.target }}\release\yazi.exe" -Destination ${env:TARGET_NAME}
|
||||
Copy-Item -Path "yazi-boot\completions" -Destination ${env:TARGET_NAME} -Recurse
|
||||
Copy-Item -Path "README.md", "LICENSE" -Destination ${env:TARGET_NAME}
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ cargo build --release --locked --target "$1"
|
|||
|
||||
# Create the artifact
|
||||
mkdir "$ARTIFACT_NAME"
|
||||
cp "target/$1/release/ya" "$ARTIFACT_NAME"
|
||||
cp "target/$1/release/yazi" "$ARTIFACT_NAME"
|
||||
cp -r yazi-boot/completions "$ARTIFACT_NAME"
|
||||
cp README.md LICENSE "$ARTIFACT_NAME"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
use clap::{command, Parser, Subcommand};
|
||||
|
||||
#[derive(Parser)]
|
||||
#[command(version, about, long_about = None)]
|
||||
#[command(name = "ya",version, about, long_about = None)]
|
||||
#[command(propagate_version = true)]
|
||||
pub(super) struct Args {
|
||||
#[command(subcommand)]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue