1
0
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:
Evgeniy Sokolov 2016-01-19 09:42:31 +01:00
parent 735a0c55bc
commit 0e4a02cc48

View File

@ -4,8 +4,8 @@ DIR=`dirname $0`
EXIT_CODE=0
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
echo -n "Проверка файла $FILE на опечатки... ";
@ -22,6 +22,8 @@ while read FILE; do
else
echo "пройдена";
fi
echo
done < changed_files
exit $EXIT_CODE