add spellcheck test step
This commit is contained in:
parent
3d57b30e4a
commit
4f202e6742
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -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)
|
||||
|
|
Reference in a new issue