Skip to content

Commit

Permalink
ci: force install additional bins
Browse files Browse the repository at this point in the history
  • Loading branch information
tommilligan committed Apr 25, 2022
1 parent fcb212a commit 38af249
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/check
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ eprintln "Building documentation"
cargo doc --no-deps --lib

eprintln "Installing 'mdbook-admonish' binary"
cargo install --path .
cargo install --path . --force
eprintln "Running mdbook integration test"
./integration/scripts/check
9 changes: 7 additions & 2 deletions scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,10 @@ set -exuo pipefail
cd "$(dirname "$0")"/..

rustup component add rustfmt clippy
cargo install cargo-audit
cargo install mdbook

if ! cargo audit --version; then
cargo install cargo-audit --force
fi
if ! mdbook --version; then
cargo install mdbook --force
fi

0 comments on commit 38af249

Please sign in to comment.