]> git.proxmox.com Git - rustc.git/blame - src/tools/rust-installer/test/rust-installer-v1/README.md
New upstream version 1.24.1+dfsg1
[rustc.git] / src / tools / rust-installer / test / rust-installer-v1 / README.md
CommitLineData
041b39d2
XL
1A generator for the install.sh script commonly used to install Rust in
2Unix environments. It is used By Rust, Cargo, and is intended to be
3used by a future combined installer of Rust + Cargo.
4
5# Usage
6
7```
8./gen-installer.sh --product-name=Rust \
9 --verify-bin=rustc \
10 --rel-manifest-dir=rustlib \
11 --success-message=Rust-is-ready-to-roll. \
12 --image-dir=./install-image \
13 --work-dir=./temp \
14 --output-dir=./dist \
15 --non-installed-prefixes="foo,bin/bar,lib/baz" \
16 --package-name=rustc-nightly-i686-apple-darwin
17```
18
19Or, to just generate the script.
20
21```
22./gen-install-script.sh --product-name=Rust \
23 --verify-bin=rustc \
24 --rel-manifest-dir=rustlib \
25 --success-message=Rust-is-ready-to-roll. \
26 --output-script=install.sh
27```
28
29*Note: the dashes in `success-message` are converted to spaces. The
30script's argument handling is broken with spaces.*