]> git.proxmox.com Git - rustc.git/blob - src/rust-installer/test/rust-installer-v2/test/rust-installer-v1/README.md
New upstream version 1.16.0+dfsg1
[rustc.git] / src / rust-installer / test / rust-installer-v2 / test / rust-installer-v1 / README.md
1 A generator for the install.sh script commonly used to install Rust in
2 Unix environments. It is used By Rust, Cargo, and is intended to be
3 used 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
19 Or, 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
30 script's argument handling is broken with spaces.*