diff options
author | Waylan Limberg <waylan.limberg@icloud.com> | 2017-12-08 21:20:12 -0500 |
---|---|---|
committer | Waylan Limberg <waylan.limberg@icloud.com> | 2017-12-08 22:18:39 -0500 |
commit | 54bf6d6369274e8ec0e040d5287038b1cc92329c (patch) | |
tree | a26f8d44a8767c4c13bad553d22078b69549ae3d /checkspelling.sh | |
parent | 193c5092b130a2e961e476982dc2d2d9c95623d2 (diff) | |
download | markdown-54bf6d6369274e8ec0e040d5287038b1cc92329c.tar.gz markdown-54bf6d6369274e8ec0e040d5287038b1cc92329c.tar.bz2 markdown-54bf6d6369274e8ec0e040d5287038b1cc92329c.zip |
Fix spellchecking test.
* Install deps.
* Ensure test fails if deps are missing.
* Update dictionary for recent docs changes.
Diffstat (limited to 'checkspelling.sh')
-rwxr-xr-x | checkspelling.sh | 8 |
1 files changed, 7 insertions, 1 deletions
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" |