axodotdev / axodotdev/cargo-dist

normalize install dir structure

Open
#934 2 comments 1 reaction 1 assignee Claimed by @mistydemeo View on GitHub
bug feature request
Dominant language
Rust
Stars
2.1k
Forks
149
Avg merge
1d 11h
Merged PRs (30d)
32

Description

Because we initially regarded the CARGO_HOME structure as "overkill" the `~/some/path` and `$MY_ENV_VAR/some/path` installdir strategies do not make a separate `bin/` subfolder, which limits the scalability of the approach somewhat, and adds a ton of special case paths to installers/updaters.

Also the MSI installer really does its own thing altogether when installing to ProgramFiles.

We should change everything to be shaped like CARGO_HOME, with `./bin/` and `./env` (on unix), with room to expand to having libs dirs as well.

This will require migrating existing users of `~/some/path`, but will be good longterm.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.