Skip to content

Commit 47efd6b

Browse files
committed
V2
1 parent aed7347 commit 47efd6b

File tree

25 files changed

+1297
-101
lines changed

25 files changed

+1297
-101
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
*~
1+
*~
2+
tmp

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "test/rust-installer-v1"]
2+
path = test/rust-installer-v1
3+
url = https://github.com/rust-lang/rust-installer

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
script:
2+
- ./test.sh

README.md

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![Build Status](https://travis-ci.org/rust-lang/rust-installer.svg?branch=master)](https://travis-ci.org/rust-lang/rust-installer)
2+
13
A generator for the install.sh script commonly used to install Rust in
24
Unix environments. It is used By Rust, Cargo, and is intended to be
35
used by a future combined installer of Rust + Cargo.
@@ -12,8 +14,11 @@ used by a future combined installer of Rust + Cargo.
1214
--image-dir=./install-image \
1315
--work-dir=./temp \
1416
--output-dir=./dist \
15-
--non-installed-prefixes="foo,bin/bar,lib/baz" \
16-
--package-name=rustc-nightly-i686-apple-darwin
17+
--non-installed-prefixes=foo,bin/bar,lib/baz \
18+
--package-name=rustc-nightly-i686-apple-darwin \
19+
--component-name=rustc \
20+
--legacy-manifest-dirs=rustlib \
21+
--bulk-dirs=share/doc
1722
```
1823

1924
Or, to just generate the script.
@@ -23,8 +28,24 @@ Or, to just generate the script.
2328
--verify-bin=rustc \
2429
--rel-manifest-dir=rustlib \
2530
--success-message=Rust-is-ready-to-roll. \
26-
--output-script=install.sh
31+
--output-script=install.sh \
32+
--legacy-manifest-dirs=rustlib
2733
```
2834

2935
*Note: the dashes in `success-message` are converted to spaces. The
30-
script's argument handling is broken with spaces.*
36+
script's argument handling is broken with spaces.*
37+
38+
To combine installers.
39+
40+
```
41+
./combine-installers.sh --product-name=Rust \
42+
--verify-bin=rustc \
43+
--rel-manifest-dir=rustlib \
44+
--success-message=Rust-is-ready-to-roll. \
45+
--work-dir=./temp \
46+
--output-dir=./dist \
47+
--non-installed-overlay=./overlay \
48+
--package-name=rustc-nightly-i686-apple-darwin \
49+
--legacy-manifest-dirs=rustlib \
50+
--input-tarballs=./rustc.tar.gz,cargo.tar.gz
51+
```

0 commit comments

Comments
 (0)