mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 08:22:40 +00:00
Getting rid of lighthouse check
This commit is contained in:
parent
b4c9f9c9ca
commit
68071dd721
8
run.sh
8
run.sh
@ -20,7 +20,7 @@ test_ludochaordic () {
|
|||||||
git clone https://github.com/Lucas-C/ludochaordic.git
|
git clone https://github.com/Lucas-C/ludochaordic.git
|
||||||
cd ludochaordic
|
cd ludochaordic
|
||||||
|
|
||||||
npm install -g csslint htmlhint lighthouse
|
npm install -g csslint htmlhint
|
||||||
pip install pelican markdown beautifulsoup4 pillow html5lib html5validator
|
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
|
||||||
@ -30,12 +30,8 @@ test_ludochaordic () {
|
|||||||
|
|
||||||
html5validator --root output/ \
|
html5validator --root output/ \
|
||||||
--ignore='Element "style" not allowed as child of element "div" in this context.'
|
--ignore='Element "style" not allowed as child of element "div" in this context.'
|
||||||
cp .htmlhintrc output/
|
cp ../pelican-mg/.htmlhintrc output/
|
||||||
htmlhint output/
|
htmlhint output/
|
||||||
|
|
||||||
make devserver
|
|
||||||
lighthouse http://localhost:8000
|
|
||||||
make stopserver
|
|
||||||
}
|
}
|
||||||
|
|
||||||
eval "$1"
|
eval "$1"
|
||||||
|
Loading…
Reference in New Issue
Block a user