From 0e4a02cc481151693760ccb3b493914c52ef6446 Mon Sep 17 00:00:00 2001 From: Evgeniy Sokolov Date: Tue, 19 Jan 2016 09:42:31 +0100 Subject: [PATCH] no checks of deleted files and drop debug exit --- files/.travis.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/files/.travis.sh b/files/.travis.sh index f4b71be..27f833b 100644 --- a/files/.travis.sh +++ b/files/.travis.sh @@ -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 \ No newline at end of file