heavyai-charting/scripts/pre-commit.sh
2015-11-24 11:34:39 -08:00

5 lines
195 B
Bash
Executable File

#!/usr/bin/env bash
# probably a dumb way to detect changed files which are not deleted
scripts/check_merge_conflict.py `comm -12 <(git diff --name-only --cached) <(git ls-files)` && grunt lint