mirror of
https://github.com/eza-community/eza.git
synced 2025-12-23 05:36:50 +00:00
build(binaries): name static binaries
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
parent
6758795302
commit
0b4a879a98
1 changed files with 8 additions and 2 deletions
10
Justfile
10
Justfile
|
|
@ -120,6 +120,12 @@ tar BINARY TARGET:
|
|||
zip BINARY TARGET:
|
||||
zip -j ./target/"bin-$(convco version)"/{{BINARY}}_{{TARGET}}.zip ./target/{{TARGET}}/release/{{BINARY}}
|
||||
|
||||
tar_static BINARY TARGET:
|
||||
tar czvf ./target/"bin-$(convco version)"/{{BINARY}}_{{TARGET}}_static.tar.gz -C ./target/{{TARGET}}/release/ ./{{BINARY}}
|
||||
|
||||
zip_static BINARY TARGET:
|
||||
zip -j ./target/"bin-$(convco version)"/{{BINARY}}_{{TARGET}}_static.zip ./target/{{TARGET}}/release/{{BINARY}}
|
||||
|
||||
binary BINARY TARGET:
|
||||
rustup target add {{TARGET}}
|
||||
cross build --release --target {{TARGET}}
|
||||
|
|
@ -129,8 +135,8 @@ binary BINARY TARGET:
|
|||
binary_static BINARY TARGET:
|
||||
rustup target add {{TARGET}}
|
||||
RUSTFLAGS='-C target-feature=+crt-static' cross build --release --target {{TARGET}}
|
||||
just tar {{BINARY}} {{TARGET}}
|
||||
just zip {{BINARY}} {{TARGET}}
|
||||
just tar_static {{BINARY}} {{TARGET}}
|
||||
just zip_static {{BINARY}} {{TARGET}}
|
||||
|
||||
checksum:
|
||||
echo "# Checksums"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue