mirror of
https://github.com/ru-de/faq.git
synced 2024-11-22 18:32:19 +00:00
no checks of deleted files and drop debug exit
This commit is contained in:
parent
735a0c55bc
commit
0e4a02cc48
@ -4,8 +4,8 @@ DIR=`dirname $0`
|
|||||||
EXIT_CODE=0
|
EXIT_CODE=0
|
||||||
|
|
||||||
go build -o $DIR/spell-checker $DIR/spell-checker.go
|
go build -o $DIR/spell-checker $DIR/spell-checker.go
|
||||||
exit
|
|
||||||
git diff HEAD^ --name-only > changed_files
|
git diff HEAD^ --name-status | grep "^D" -v | awk '{print $2}' > changed_files
|
||||||
|
|
||||||
while read FILE; do
|
while read FILE; do
|
||||||
echo -n "Проверка файла $FILE на опечатки... ";
|
echo -n "Проверка файла $FILE на опечатки... ";
|
||||||
@ -22,6 +22,8 @@ while read FILE; do
|
|||||||
else
|
else
|
||||||
echo "пройдена";
|
echo "пройдена";
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo
|
||||||
done < changed_files
|
done < changed_files
|
||||||
|
|
||||||
exit $EXIT_CODE
|
exit $EXIT_CODE
|
Loading…
Reference in New Issue
Block a user