mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 08:22:40 +00:00
run.sh install reorg
This commit is contained in:
parent
c1dd38e720
commit
288f40fd64
10
run.sh
10
run.sh
@ -1,12 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# USAGE: ./run.sh ( install | test_ludochaordicn )
|
# USAGE: ./run.sh ( install | test_ludochaordic )
|
||||||
|
|
||||||
set -o pipefail -o errexit -o nounset -o xtrace
|
set -o pipefail -o errexit -o nounset -o xtrace
|
||||||
|
|
||||||
install () {
|
install () {
|
||||||
npm install -g csslint eslint eslint-config-strict eslint-plugin-filenames htmlhint htmllint-cli lighthouse
|
npm install -g eslint eslint-config-strict eslint-plugin-filenames
|
||||||
pip install html5validator pre-commit
|
pip install pre-commit
|
||||||
pre-commit install
|
pre-commit install
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -20,7 +20,9 @@ test_ludochaordic () {
|
|||||||
git clone https://github.com/Lucas-C/ludochaordic.git
|
git clone https://github.com/Lucas-C/ludochaordic.git
|
||||||
cd ludochaordic
|
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
|
../pelican-mg/gen_imgs_from_mds.py content/*.md
|
||||||
make DEBUG=1 OUTPUTDIR=output html
|
make DEBUG=1 OUTPUTDIR=output html
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user