From 8dcff7874554c11f3cb465a5260be8ed916d8b33 Mon Sep 17 00:00:00 2001 From: "@RandyMcMillan" Date: Fri, 6 Dec 2024 21:36:17 -0500 Subject: [PATCH] book/justfile:try cargo binstall first --- book/justfile | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/book/justfile b/book/justfile index 55768f994..3e8820067 100644 --- a/book/justfile +++ b/book/justfile @@ -2,10 +2,17 @@ default: @just --list # install book depends init: - @mdbook --version || cargo install mdbook --version 0.4.40 - @mdbook-linkcheck --version || cargo install mdbook-linkcheck --version 0.7.7 - @mdbook-admonish --version || cargo install mdbook-admonish --version 1.15.0 - @mdbook-snippets --version || cargo install --path ./snippets-processor + @mdbook --version || \ + cargo binstall -y --force mdbook --version 0.4.40 || \ + cargo install --force mdbook --version 0.4.40 + @mdbook-linkcheck --version || \ + cargo binstall -y --force mdbook-linkcheck --version 0.7.7 || \ + cargo install --force mdbook-linkcheck --version 0.7.7 + @mdbook-admonish --version || \ + cargo binstall -y --force mdbook-admonish --version 1.15.0 || \ + cargo install --force mdbook-admonish --version 1.15.0 + @mdbook-snippets --version || \ + cargo install --force --path ./snippets-processor build: init mdbook build