Created
June 30, 2022 19:15
-
-
Save sunshowers/0840b338b7e2496615d897d915859dbf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/cargo-nextest/Cargo.toml b/cargo-nextest/Cargo.toml | |
index 615e356f6..1794b959e 100644 | |
--- a/cargo-nextest/Cargo.toml | |
+++ b/cargo-nextest/Cargo.toml | |
@@ -52,3 +52,16 @@ self-update = ["nextest-runner/self-update"] | |
# Default set of features excluding self-update. This is the recommended set of features for | |
# distributor and custom CI builds. | |
default-no-update = [] | |
+ | |
+[package.metadata.binstall] | |
+pkg-url = "{ repo }/releases/download/cargo-nextest-{ version }/{ name }-{ version }-{ target }.tar.gz" | |
+bin-dir = "{ bin }{ binary-ext }" | |
+pkg-fmt = "tgz" | |
+ | |
+# Mac x86_64 and aarch64 use the same universal binary. | |
+ | |
+[package.metadata.binstall.overrides.x86_64-apple-darwin] | |
+pkg-url = "{ repo }/releases/download/cargo-nextest-{ version }/{ name }-{ version }-universal-apple-darwin.tar.gz" | |
+ | |
+[package.metadata.binstall.overrides.aarch64-apple-darwin] | |
+pkg-url = "{ repo }/releases/download/cargo-nextest-{ version }/{ name }-{ version }-universal-apple-darwin.tar.gz" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment