#!/bin/bash
set -e
cd "$(dirname "$0")"
if [ -f ./mdbook ]; then
./mdbook build
else
mdbook build
fi
if [ ! -d node_modules ]; then
npm install
fi
./build.js
#!/bin/bash
set -e
cd "$(dirname "$0")"
if [ -f ./mdbook ]; then
./mdbook build
else
mdbook build
fi
if [ ! -d node_modules ]; then
npm install
fi
./build.js