mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2025-07-30 13:30:17 +00:00
Adding .travis.yml
This commit is contained in:
19
Makefile
Normal file
19
Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
# BEWARE ! Makefiles require the use of hard tabs
|
||||
|
||||
NODE_BIN := node_modules/.bin
|
||||
|
||||
.PHONY: install check test
|
||||
|
||||
install:
|
||||
npm install csslint eslint eslint-config-strict eslint-plugin-filenames htmlhint htmllint-cli jscs
|
||||
pip install pre-commit
|
||||
pre-commit install
|
||||
|
||||
check:
|
||||
$(NODE_BIN)/eslint $(git ls-files [ grep '\.js$')
|
||||
$(NODE_BIN)/jscs $(git ls-files [ grep '\.js$')
|
||||
$(NODE_BIN)/csslint --ignore=order-alphabetical $(git ls-files [ grep '\.css$')
|
||||
pre-commit run --all-files
|
||||
|
||||
test:
|
||||
./test_ludochaordic.sh
|
Reference in New Issue
Block a user