#!/bin/bash

set -exuo pipefail

cd "$(dirname "$0")"/..

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