commit | 9981e4d1ea6ac0992ff21be5514d4230dc77548b | [log] [tgz] |
---|---|---|
author | Mark Rousskov <mark.simulacrum@gmail.com> | Fri Feb 03 20:42:35 2023 -0500 |
committer | GitHub <noreply@github.com> | Fri Feb 03 20:42:35 2023 -0500 |
tree | d45a0696337881689c1e7adaaad22a5a4f664ec4 | |
parent | 5b2eee7eed72b4894909c5eecbf014ea0b5ad995 [diff] | |
parent | c2531885d136707cbbc6f19df2b16504c3a0d22f [diff] |
Merge pull request #120 from jonhoo/deterministic-manifest Write out manifest.in entries deterministically
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.