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

Can binstall provide an official install.sh template? #1935

Open
ahaoboy opened this issue Oct 15, 2024 · 2 comments
Open

Can binstall provide an official install.sh template? #1935

ahaoboy opened this issue Oct 15, 2024 · 2 comments

Comments

@ahaoboy
Copy link

ahaoboy commented Oct 15, 2024

When adding binstall support to a project, it is complicated and tedious to repeatedly implement an install.sh. If a package can be installed with binstall, is it possible to use a template to generate install.sh instead of writing it manually, just like cargo-dist, but more lightweight?

@ahaoboy
Copy link
Author

ahaoboy commented Oct 15, 2024

For projects that support binstall, it means that you don't need a rust environment, you only need to download the corresponding executable file and add it to PATH. Does this mean that a tool can be implemented to install projects that support binstall without a rust environment?

For example

binstall install fnm

@NobodyXu
Copy link
Member

NobodyXu commented Oct 15, 2024

Does this mean that a tool can be implemented to install projects that support binstall without a rust environment?

Yes, you could use --disable-strategy compile to prevent fallback to cargo-install

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

2 participants