mirror of
https://github.com/eza-community/eza
synced 2024-10-04 15:09:49 +00:00
refactor(cross): ignore missing MSVC docker image
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
parent
be91b68b5a
commit
bed68e9b55
30
Justfile
30
Justfile
|
@ -109,6 +109,10 @@ all-release: build-release test-release
|
|||
sleep 10
|
||||
gh pr create --draft --title "chore: release $(grep '^version' Cargo.toml | head -n 1 | grep -E '([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?' -o)" --body "This PR was auto-generated by our lovely just file" --reviewer cafkafk
|
||||
|
||||
#----------------#
|
||||
# binaries #
|
||||
#----------------#
|
||||
|
||||
tar BINARY TARGET:
|
||||
tar czvf ./target/"bin-$(convco version)"/{{BINARY}}_{{TARGET}}.tar.gz -C ./target/{{TARGET}}/release/ ./{{BINARY}}
|
||||
|
||||
|
@ -121,10 +125,20 @@ binary BINARY TARGET:
|
|||
just tar {{BINARY}} {{TARGET}}
|
||||
just zip {{BINARY}} {{TARGET}}
|
||||
|
||||
checksum:
|
||||
echo "# Checksums"
|
||||
echo "## sha256sum"
|
||||
echo '```'
|
||||
sha256sum ./target/"bin-$(convco version)"/*
|
||||
echo '```'
|
||||
echo "## md5sum"
|
||||
echo '```'
|
||||
md5sum ./target/"bin-$(convco version)"/*
|
||||
echo '```'
|
||||
|
||||
alias c := cross
|
||||
|
||||
# If you're not cafkafk and she isn't dead, you probably don't need to run
|
||||
# this!
|
||||
# Generate release binaries for EZA
|
||||
#
|
||||
# usage: cross
|
||||
@cross:
|
||||
|
@ -148,18 +162,10 @@ alias c := cross
|
|||
## Windows
|
||||
### x86
|
||||
just binary eza.exe x86_64-pc-windows-gnu
|
||||
just binary eza.exe x86_64-pc-windows-msvc
|
||||
-just binary eza.exe x86_64-pc-windows-msvc
|
||||
|
||||
# Generate Checksums
|
||||
echo "# Checksums"
|
||||
echo "## sha256sum"
|
||||
echo '```'
|
||||
sha256sum ./target/"bin-$(convco version)"/*
|
||||
echo '```'
|
||||
echo "## md5sum"
|
||||
echo '```'
|
||||
md5sum ./target/"bin-$(convco version)"/*
|
||||
echo '```'
|
||||
just checksum
|
||||
|
||||
#---------------------#
|
||||
# Integration testing #
|
||||
|
|
Loading…
Reference in a new issue