Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add homebrew/binstall/quickinstall support #31

Closed
4 tasks done
sunshowers opened this issue Feb 12, 2022 · 11 comments
Closed
4 tasks done

Add homebrew/binstall/quickinstall support #31

sunshowers opened this issue Feb 12, 2022 · 11 comments

Comments

@sunshowers
Copy link
Member

sunshowers commented Feb 12, 2022

Currently, the only way to install cargo-nextest is with the pre-built binaries, or by using cargo install. It would be nice to add other binary installation mechanisms as well.

To consider:

@sunshowers
Copy link
Member Author

Initial version is at https://nexte.st/book/pre-built-binaries.html -- super easy to install from that URL.

@sunshowers sunshowers changed the title Add prebuilt binaries and install scripts for cargo-nextest without using cargo install Add homebrew/binstall/quickinstall support Feb 17, 2022
@cwfitzgerald
Copy link

cwfitzgerald commented Feb 17, 2022

Thanks for this! For the windows side, modern windows 10 ships both real curl and real tar. The only difference is you need to type curl.exe to avoid the poweshell alias "curl".

@sunshowers
Copy link
Member Author

sunshowers commented Feb 17, 2022

@cwfitzgerald Got it, thanks! Any idea how to do the ${CARGO_HOME:-~/.cargo}/bin substitution?

@cwfitzgerald
Copy link

Not a clue! 😄

@CAD97
Copy link

CAD97 commented May 24, 2022

For windows, it would be possible to provide packages for scoop and or chocolatey. winget is provided by default in Windows 11 and available for Windows 10, but doesn't yet support standalone installation.

@sunshowers
Copy link
Member Author

Thanks @CAD97. Do you have experience with these? I don't really use Windows much these days so I'd really appreciate help creating whatever manifests etc need to be created.

@CAD97
Copy link

CAD97 commented May 25, 2022

I've not made packages for any of these, so I don't have any advice to give beyond pointing at the official docs:

@remoun
Copy link

remoun commented Jun 30, 2022

I'd love to see cargo-binstall support; its README says customizing where it looks for artifacts is as simple as adding [package.metadata.binstall] to Cargo.toml

@sunshowers
Copy link
Member Author

@remoun would you like to take a stab at implementing it? Here's a first cut but it still likely needs to be tested out across OSes: https://gist.github.com/0840b338b7e2496615d897d915859dbf

@rouge8
Copy link
Contributor

rouge8 commented Jul 16, 2022

Added to Homebrew: #361

@sunshowers
Copy link
Member Author

We now have binstall and homebrew support, and #369 tracks release signing. Closing as completed/with followups.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants