mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-03-31 09:42:11 +02:00
Move mdbook installation into a script and use exact versions from the CI. Update README.md to instruct developers to use the same versions as the CI to sync both environments. This is related to #2620 and it fixes #2588
12 lines
545 B
Bash
Executable File
12 lines
545 B
Bash
Executable File
#!/bin/bash
|
|
# The --locked flag is important for reproducible builds. It also
|
|
# avoids breakage due to skews between mdbook and mdbook-svgbob.
|
|
cargo install mdbook --locked --version 0.4.37
|
|
cargo install mdbook-svgbob --locked --version 0.2.1
|
|
cargo install mdbook-pandoc --locked --version 0.9.3
|
|
cargo install mdbook-i18n-helpers --locked --version 0.3.3
|
|
cargo install i18n-report --locked --version 0.2.0
|
|
# these packages are located in this repository
|
|
cargo install --path mdbook-exerciser --locked
|
|
cargo install --path mdbook-course --locked
|