-
Notifications
You must be signed in to change notification settings - Fork 258
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
feat(installer): add installer script #1280
Conversation
d918b3d
to
5a09bca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean we are not going to use cargo-dist
?
Yup, it is not really needed. At first I thought we didn't have binary releases but we have so we can simply install them with this script. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also need a redirect from shuttle.rs/install
to this file on main :) I can fix that if you want.
ready for re-review we also need to test this on MacOS before merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great, thanks Orhun!
_ _ _ _ | ||
___| |__ _ _| |_| |_| | ___ | ||
/ __| '_ \\| | | | __| __| |/ _ \\ | ||
\__ \\ | | | |_| | |_| |_| | __/ | ||
|___/_| |_|\\__,_|\\__|\\__|_|\\___| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😍
We should also update the readme in this repo with the fact that you can install with this script now, and we should add it to the installation guide in the docs repo. We should be clear about the fact that it doesn't work on windows yet. |
@oddgrd I can make those changes. (separate PRs) |
Description of change
This PR adds the installer script for easily installing
cargo-shuttle
on different platforms.Currently, it supports:
pacman
cargo-binstall
(ifcargo-binstall
is installed)cargo install
(installscargo
viarustup
if it is not found)How has this been tested? (if applicable)
On my local machine by running
./install.sh
We need to test this on MacOS as well.