mirror of
https://github.com/tommilligan/mdbook-admonish.git
synced 2025-12-27 11:06:43 -05:00
25 lines
465 B
Bash
Executable File
25 lines
465 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Install everything for development/CI
|
|
#
|
|
# Does not include offline node development stack (i.e. yarn)
|
|
|
|
set -euo pipefail
|
|
|
|
function eprintln() {
|
|
>&2 echo "$1"
|
|
}
|
|
|
|
cd "$(dirname "$0")"/..
|
|
|
|
eprintln "Installing additional Rust components"
|
|
rustup component add rustfmt clippy
|
|
|
|
eprintln "Installing mdbook"
|
|
./scripts/install-mdbook
|
|
|
|
eprintln "Installing node dependencies"
|
|
pushd compile_assets > /dev/null
|
|
yarn install --frozen-lockfile
|
|
popd > /dev/null
|