1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-04-07 07:30:01 +02:00
michael-kerscher 715a23e7a8
Create install-mdbook.sh and lock to the current versions used in the CI ()
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  and it fixes 
2025-02-05 15:33:28 +01:00

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