1
Fork 0

split unittest into seperate make command

This commit is contained in:
Jake Howard 2016-09-11 21:45:32 +01:00
parent dc34f9f8f8
commit e4925ae14b
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -47,10 +47,12 @@ node_modules:
npm install
test: lint spellcheck
test: unittest lint spellcheck
unittest:
$(ENV)/nose2 --verbose
lint:
$(ENV)/nose2 --verbose
$(NODE_BIN)/eslint 'theme/static/src/js/'
$(NODE_BIN)/sass-lint -vqc .sass-lint.yml
$(ENV)/flake8 $(BASEDIR)/plugins/ $(FLAKE8_IGNORE)
@ -63,7 +65,7 @@ spellcheck:
$(NODE_BIN)/mdspell --en-gb -ranx content/**/*.md content/*.md content/**/*.html content/*.html
upload: build
upload:
git clone https://github.com/RealOrangeOne/host-container.git $(DEPLOY_DIR)
cp -rf $(OUTPUTDIR)/. $(DEPLOY_DIR)/site/
@cd $(DEPLOY_DIR) && git remote add dokku $(DEPLOY_URL) && git add . && git commit -m "add files" && git push -f dokku master --quiet