1
Fork 0

add spellcheck test step

This commit is contained in:
Jake Howard 2016-07-29 12:00:28 +01:00
parent 3d57b30e4a
commit 4f202e6742
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -49,7 +49,7 @@ node_modules: env
npm install
test: lint
test: lint spellcheck
lint:
$(NODE_BIN)/eslint 'theme/static/src/js/'
@ -58,6 +58,10 @@ lint:
$(ENV)/flake8 $(BASEDIR)/scripts/ $(FLAKE8_IGNORE)
$(ENV)/flake8 $(BASEDIR)/pelicanconf.py $(FLAKE8_IGNORE)
spellcheck:
$(NODE_BIN)/mdspell --en-gb -ranx theme/templates/**/*.*
$(NODE_BIN)/mdspell --en-gb -ranx content/**/*.*
upload: build
rsync -e "/usr/bin/ssh" -rvz --delete $(OUTPUTDIR)/* $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)