From 288f40fd643b9874b4261705e8ca842ca7e3ba55 Mon Sep 17 00:00:00 2001 From: Lucas Cimon Date: Sun, 3 Dec 2017 01:08:21 +0100 Subject: [PATCH] run.sh install reorg --- run.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/run.sh b/run.sh index 57b7161..aa2e123 100755 --- a/run.sh +++ b/run.sh @@ -1,12 +1,12 @@ #!/bin/bash -# USAGE: ./run.sh ( install | test_ludochaordicn ) +# USAGE: ./run.sh ( install | test_ludochaordic ) set -o pipefail -o errexit -o nounset -o xtrace install () { - npm install -g csslint eslint eslint-config-strict eslint-plugin-filenames htmlhint htmllint-cli lighthouse - pip install html5validator pre-commit + npm install -g eslint eslint-config-strict eslint-plugin-filenames + pip install pre-commit pre-commit install } @@ -20,7 +20,9 @@ test_ludochaordic () { git clone https://github.com/Lucas-C/ludochaordic.git cd ludochaordic - pip install pelican markdown beautifulsoup4 pillow html5lib + npm install -g csslint htmlhint htmllint-cli lighthouse + pip install pelican markdown beautifulsoup4 pillow html5lib html5validator + ../pelican-mg/gen_imgs_from_mds.py content/*.md make DEBUG=1 OUTPUTDIR=output html