Compare commits

..

No commits in common. "845cdd62c9e0038dd44a951f3f49bb23242fb320" and "2c947f2022fe2bf754a508678f1eb2a01dafc778" have entirely different histories.

2 changed files with 1 additions and 6 deletions

View File

@ -31,5 +31,3 @@
[credential]
helper = store
[core]
editor = vim

View File

@ -1,15 +1,12 @@
#!/bin/bash
# xlint all changed templates
# xgensum all changed templates
EX_ERR=1
FILES=$(git diff --name-only --staged | grep template)
for FILE in ${FILES}; do
stat "${FILE}" &> /dev/null || continue
echo "linting ${FILE}:"
echo "xlint ${FILE}:"
xlint $FILE || exit $EX_ERR
xgensum -i $FILE || exit $EX_ERR
echo "all clear."
done