Skip to content

Commit

Permalink
Update build tools and fix CI. (#33)
Browse files Browse the repository at this point in the history
From CI failures, missing `mdbook-admonish install` will cause the HTML
to fail to build, even after minor version changes.
  • Loading branch information
r12f authored Jan 5, 2025
1 parent f1f82a4 commit cc1e81d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ init:
cargo install mdbook-open-on-gh

init-builder:
@just install-gh-bin https://github.com/rust-lang/mdBook/releases/download/v0.4.32/mdbook-v0.4.32-x86_64-unknown-linux-gnu.tar.gz mdbook
@just install-gh-bin https://github.com/rust-lang/mdBook/releases/download/v0.4.43/mdbook-v0.4.43-x86_64-unknown-linux-gnu.tar.gz mdbook
cargo install mdbook-i18n-helpers
@just install-gh-bin https://github.com/tommilligan/mdbook-admonish/releases/download/v1.10.1/mdbook-admonish-v1.10.1-x86_64-unknown-linux-gnu.tar.gz mdbook-admonish
@just install-gh-bin https://github.com/slowsage/mdbook-pagetoc/releases/download/v0.1.7/mdbook-pagetoc-v0.1.7-x86_64-unknown-linux-gnu.tar.gz mdbook-pagetoc
@just install-gh-bin https://github.com/badboy/mdbook-mermaid/releases/download/v0.12.6/mdbook-mermaid-v0.12.6-x86_64-unknown-linux-gnu.tar.gz mdbook-mermaid
@just install-gh-bin https://github.com/badboy/mdbook-open-on-gh/releases/download/2.3.3/mdbook-open-on-gh-2.3.3-x86_64-unknown-linux-gnu.tar.gz mdbook-open-on-gh
@just install-gh-bin https://github.com/tommilligan/mdbook-admonish/releases/download/v1.18.0/mdbook-admonish-v1.18.0-x86_64-unknown-linux-gnu.tar.gz mdbook-admonish
mdbook-admonish install
@just install-gh-bin https://github.com/slowsage/mdbook-pagetoc/releases/download/v0.2.0/mdbook-pagetoc-v0.2.0-x86_64-unknown-linux-gnu.tar.gz mdbook-pagetoc
@just install-gh-bin https://github.com/badboy/mdbook-mermaid/releases/download/v0.14.1/mdbook-mermaid-v0.14.1-x86_64-unknown-linux-gnu.tar.gz mdbook-mermaid
@just install-gh-bin https://github.com/badboy/mdbook-open-on-gh/releases/download/2.4.3/mdbook-open-on-gh-2.4.3-x86_64-unknown-linux-gnu.tar.gz mdbook-open-on-gh

install-gh-bin GITHUB_PATH BIN_NAME:
@just _log-head "Installing {{BIN_NAME}} from {{GITHUB_PATH}} ..."
Expand Down

0 comments on commit cc1e81d

Please sign in to comment.