-
Notifications
You must be signed in to change notification settings - Fork 4
Scripts for "cargo install" #392
Comments
Good stuff! Some thoughts :
Maybe we pass a flag to the script to signal whether we want to install it or not? |
I like the overall idea but agree with @NunoAlexandre’s point. We should keep the language and make the installation optional. We should also considering making |
There seems to be a misunderstanding, I want to add the installation scripts, not replace any existing ones,
I agree,
That would force us, the developers, to pass |
This depends on how we’re building the node for development. I personally use Another thing that came to mind: |
Sometimes I do use cargo directly, sometimes I'm using a custom script. I think that overall it's just another thing to remember and creates a trap for the newcomers. And what are we gaining? For every release build there are hundreds of development builds, so we should optimize the compilation UX for them.
I think that this is set up automatically during the installation of cargo. |
Could you verify this. If so, I’m down for this change. |
I've verified it and it's true: https://github.com/rust-lang/rustup#installation |
We have
scripts/build-release
, which generates the node and cli binaries.It would be convenient to have a script to install the binaries from source with
cargo install
. It would ease the process of installating from source and remove the$PATH
step.My proposition:
scripts/install_node
:scripts/install_cli
:Also we should turn https://github.com/radicle-dev/radicle-registry#build-from-source to "install from source" using these new scripts and update the link in http://registry.radicle.xyz/docs/getting-started/#installation.
The text was updated successfully, but these errors were encountered: