diff --git a/Makefile b/Makefile index 2f979f0..ebc0079 100644 --- a/Makefile +++ b/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)