mirror of
https://github.com/sxyazi/yazi.git
synced 2024-12-24 17:23:21 +03:00
21 lines
919 B
Bash
Executable File
21 lines
919 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
cd $SCRIPT_DIR/..
|
|
|
|
cargo +stable build --release --target aarch64-apple-darwin
|
|
cargo +stable build --release --target x86_64-apple-darwin
|
|
cargo +stable build --release --target x86_64-unknown-linux-gnu
|
|
cargo +stable build --release --target x86_64-pc-windows-gnu
|
|
|
|
mv target/aarch64-apple-darwin/release/yazi yazi-aarch64-apple-darwin
|
|
mv target/x86_64-apple-darwin/release/yazi yazi-x86_64-apple-darwin
|
|
mv target/x86_64-unknown-linux-gnu/release/yazi yazi-x86_64-unknown-linux-gnu
|
|
mv target/x86_64-pc-windows-gnu/release/yazi.exe yazi-x86_64-pc-windows-gnu.exe
|
|
|
|
zip -j yazi-aarch64-apple-darwin.zip yazi-aarch64-apple-darwin
|
|
zip -j yazi-x86_64-apple-darwin.zip yazi-x86_64-apple-darwin
|
|
zip -j yazi-x86_64-unknown-linux-gnu.zip yazi-x86_64-unknown-linux-gnu
|
|
zip -j yazi-x86_64-pc-windows-gnu.zip yazi-x86_64-pc-windows-gnu.exe
|