diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2018-01-19 07:28:19 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2018-01-19 07:28:19 -0500 |
| commit | 469b4e0072f8238a9ac8f7eb06d5e99335956b4d (patch) | |
| tree | 3f4558bac38533a8f32fe95b436050aad112d631 /src/doc | |
| parent | 7c2f429b2546491a31f4498da314862bbf48dff9 (diff) | |
| download | rust-469b4e0072f8238a9ac8f7eb06d5e99335956b4d.tar.gz rust-469b4e0072f8238a9ac8f7eb06d5e99335956b4d.zip | |
invoke `cargo` to install mdbook
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/rustc-dev-guide/.travis.yml | 2 | ||||
| -rw-r--r-- | src/doc/rustc-dev-guide/ci/install.sh | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/.travis.yml b/src/doc/rustc-dev-guide/.travis.yml index e1fcfa9bf9e..5978c61d845 100644 --- a/src/doc/rustc-dev-guide/.travis.yml +++ b/src/doc/rustc-dev-guide/.travis.yml @@ -3,8 +3,8 @@ language: rust cache: pip install: - - bash ci/install.sh - source ~/.cargo/env || true + - bash ci/install.sh script: - true diff --git a/src/doc/rustc-dev-guide/ci/install.sh b/src/doc/rustc-dev-guide/ci/install.sh index d9cb369e548..dd96daf178f 100644 --- a/src/doc/rustc-dev-guide/ci/install.sh +++ b/src/doc/rustc-dev-guide/ci/install.sh @@ -1,6 +1,8 @@ #!/bin/bash set -ex +cargo install cargo install mdbook --vers "0.0.28" + if command -v ghp-import >/dev/null 2>&1; then pip install ghp-import -fi \ No newline at end of file +fi |
