]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #22256 - brson:installer-next, r=alexcrichton
authorManish Goregaokar <manishsmail@gmail.com>
Sun, 15 Feb 2015 13:06:35 +0000 (18:36 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Sun, 15 Feb 2015 13:12:48 +0000 (18:42 +0530)
commit97503e1c1e3febedcd8f528a86d1da85cf9584c8
tree3b221bbfe2058594b212b3a19f91ee876f98204f
parent16b24f15bd042c4f97e1d4826d82c992c0228684
parent9df38bf6583ff27e5184513b397955d3b169bbdf
Rollup merge of #22256 - brson:installer-next, r=alexcrichton

 Highlights:

* Adds an 'uninstall.sh' script to `/usr/local/lib/rustlib/uninstall.sh`, the path to which is printed during installation.
* Components can be deselected during install, like `install.sh --without=rust-docs`.
* Components can be listed with `install.sh --list-components`.
* Vastly reduces spew during install (but supporting a `--verbose` option).

Typicall install run looks like:

```
brian@brianX1:~/dev/multirustāŸ« sudo ./install.sh
[sudo] password for brian:
install: creating uninstall script at /usr/local/lib/rustlib/uninstall.sh
install: installing component 'rustc'
install: installing component 'cargo'
install: installing component 'rust-docs'

    Rust is ready to roll.
```

Needs to be merged right before corresponding PRs to cargo and rust-packaging.

Fixes https://github.com/rust-lang/rust/issues/21117
Fixes https://github.com/rust-lang/rust/issues/20283