commit | 5b2eee7eed72b4894909c5eecbf014ea0b5ad995 | [log] [tgz] |
---|---|---|
author | Mark Rousskov <mark.simulacrum@gmail.com> | Wed Dec 21 12:22:48 2022 -0500 |
committer | GitHub <noreply@github.com> | Wed Dec 21 12:22:48 2022 -0500 |
tree | 90568e8260574fdc46542d61037bc7ec31c36f56 | |
parent | a2e6c29543e63aed91017413e39fbdb22c666c8d [diff] | |
parent | 0ed563d4180e4e4431efe7bc02207c7fa5486764 [diff] |
Merge pull request #119 from Mark-Simulacrum/fix-install Fix --without-components with subsetted components
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 \ --rel-manifest-dir=rustlib \ --success-message=Rust-is-ready-to-roll. \ --image-dir=./install-image \ --work-dir=./temp \ --output-dir=./dist \ --non-installed-overlay=./overlay \ --package-name=rustc-nightly-i686-apple-darwin \ --component-name=rustc \ --legacy-manifest-dirs=rustlib \ --bulk-dirs=share/doc
Or, to just generate the script.
./gen-install-script.sh --product-name=Rust \ --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.
To combine installers.
./combine-installers.sh --product-name=Rust \ --rel-manifest-dir=rustlib \ --success-message=Rust-is-ready-to-roll. \ --work-dir=./temp \ --output-dir=./dist \ --non-installed-overlay=./overlay \ --package-name=rustc-nightly-i686-apple-darwin \ --legacy-manifest-dirs=rustlib \ --input-tarballs=./rustc.tar.gz,cargo.tar.gz
This software is distributed under the terms of both the MIT license and/or the Apache License (Version 2.0), at your option.
See LICENSE-APACHE, LICENSE-MIT for details.