mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 08:22:40 +00:00
18 lines
355 B
Makefile
18 lines
355 B
Makefile
# BEWARE ! Makefiles require the use of hard tabs
|
|
|
|
.PHONY: install check lint test
|
|
|
|
install:
|
|
npm install -g csslint eslint eslint-config-strict eslint-plugin-filenames htmlhint htmllint-cli lighthouse
|
|
pip install pre-commit
|
|
pre-commit install
|
|
|
|
check: eslint
|
|
pre-commit run --all-files
|
|
|
|
eslint:
|
|
eslint templates/js/*.js
|
|
|
|
test:
|
|
./test_ludochaordic.sh
|