| commit | 8280ebca30a71c6c71bc09d5cb883d26fd52e45b | [log] [tgz] |
|---|---|---|
| author | Brian Anderson <banderson@mozilla.com> | Tue Nov 25 14:42:59 2014 -0800 |
| committer | Brian Anderson <banderson@mozilla.com> | Fri Dec 05 18:52:11 2014 -0800 |
| tree | 3eaef806fae37fe13b0167dd03da6bd7f89fa830 | |
| parent | dc09347b1caca92bbaa3fa6aa7180d50a9beb19c [diff] |
V2
A generator for the install.sh script commonly used to install Rust in Unix environments. It is used By Rust, Cargo, and is intended to be used by a future combined installer of Rust + Cargo.
./gen-installer.sh --product-name=Rust \
--verify-bin=rustc \
--rel-manifest-dir=rustlib \
--success-message=Rust-is-ready-to-roll. \
--image-dir=./install-image \
--work-dir=./temp \
--output-dir=./dist \
--non-installed-prefixes="foo,bin/bar,lib/baz" \
--package-name=rustc-nightly-i686-apple-darwin \
--component-name=rustc \
--legacy-manifest-dirs=rustlib
Or, to just generate the script.
./gen-install-script.sh --product-name=Rust \
--verify-bin=rustc \
--rel-manifest-dir=rustlib \
--success-message=Rust-is-ready-to-roll. \
--output-script=install.sh \
--legacy-manifest-dirs=rustlib
Note: the dashes in success-message are converted to spaces. The script's argument handling is broken with spaces.