Procházet zdrojové kódy

refactor(cross): ignore missing MSVC docker image

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Christina Sørensen před 2 roky
rodič
revize
bed68e9b55
1 změnil soubory, kde provedl 18 přidání a 12 odebrání
  1. 18 12
      Justfile

+ 18 - 12
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 #