Files
holos/hack/cspell
Jeff McCune 0866ace8d8 maint: use cspell from doc/website
Get rid of package.json at the root.
2025-04-03 14:51:35 -07:00

13 lines
315 B
Bash
Executable File

#! /bin/bash
#
set -euo pipefail
TOPLEVEL="$(cd $(dirname "$0") && git rev-parse --show-toplevel)"
cd "${TOPLEVEL}"
if ! [[ -f ./doc/website/node_modules/.bin/cspell ]]; then
(cd doc/website && npm install)
fi
./doc/website/node_modules/.bin/cspell ./doc/md/**/*.{md,mdx,markdown} ./doc/md/*.{md,mdx,markdown}