-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create install-mdbook.sh and lock to the current versions used in the…
… CI (#2626) 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
- Loading branch information
1 parent
c07ac40
commit 715a23e
Showing
3 changed files
with
14 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/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 |