From 4f202e674227002ba405f740323bb3b1cd51cadb Mon Sep 17 00:00:00 2001 From: RealOrangeOne Date: Fri, 29 Jul 2016 12:00:28 +0100 Subject: [PATCH] add spellcheck test step --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)