From 54bf6d6369274e8ec0e040d5287038b1cc92329c Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Fri, 8 Dec 2017 21:20:12 -0500 Subject: Fix spellchecking test. * Install deps. * Ensure test fails if deps are missing. * Update dictionary for recent docs changes. --- checkspelling.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'checkspelling.sh') diff --git a/checkspelling.sh b/checkspelling.sh index 654fef0..ac794f7 100755 --- a/checkspelling.sh +++ b/checkspelling.sh @@ -1,9 +1,15 @@ #!/bin/bash echo "Building docs..." -mkdocs build --clean +mkdocs build +if [ $? -ne 0 ]; then + exit 1 +fi echo "Compiling Dictionary..." aspell --lang=en create master ./tmp <.spell-dict +if [ $? -ne 0 ]; then + exit 1 +fi echo "Checking spelling..." let "fails=0" -- cgit v1.2.3