dotfiles/scripts/runtests.sh

19 lines
409 B
Bash
Raw Normal View History

2016-02-08 23:16:28 +00:00
#!/usr/bin/env bash
set -e
echo ">> Validating JSON..."
npm install jsonlint -g
2016-02-09 21:22:48 +00:00
jsonlint -q apt/apt-installs-core.json
jsonlint -q apt/apt-installs-extra.json
jsonlint -q apt/apt-keys.json
jsonlint -q apt/apt-repos.json
jsonlint -q atom/packages.json
2016-02-08 23:16:28 +00:00
echo ">> Validating Python..."
pip install flake8
2016-02-09 21:49:36 +00:00
flake8 scripts/install_dotfiles.py --ignore=E128,E501
2016-02-09 21:44:57 +00:00
flake8 INSTALL_ALL_THE_THINGS --ignore=E128,E501