Update check_grep.sh

This commit is contained in:
silicons
2021-08-09 19:14:01 -07:00
committed by GitHub
parent 10cf097f42
commit 68c3618ebe
+4
View File
@@ -6,6 +6,10 @@ shopt -s globstar
st=0
if git grep -P "\r\n"; then
echo "ERROR: CRLF line endings detected. Please stop using the webeditor, and fix it using a desktop Git client."
st = 1
fi;
if grep -El '^\".+\" = \(.+\)' _maps/**/*.dmm; then
echo "ERROR: Non-TGM formatted map detected. Please convert it using Map Merger!"
st=1