From ef95e4ae36ace16e9a9d2f7565b4a246db058eb6 Mon Sep 17 00:00:00 2001 From: "Casper Ti. Vector" Date: Mon, 25 Jun 2018 11:02:48 +0800 Subject: [PATCH] =?UTF-8?q?qa:=20automate=20the=20`=E9=9C=80'/`=E9=A1=BB'?= =?UTF-8?q?=20check,=20and=20do=20not=20check=20whitespaces=20in=20patches?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/qa | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/qa b/utils/qa index b3254e1..4dabad5 100755 --- a/utils/qa +++ b/utils/qa @@ -39,16 +39,16 @@ sync: spell: @echo '======================================================================' - @echo '$@: "模版" -> "模板"; "绪言" -> "序言"' + @echo '$@: "模板" -> "模版"; "绪言" -> "序言"; maybe "需" -> "须"' @echo '----------------------------------------------------------------------' - grep -rE --exclude-dir=.git '模板|绪言' . + grep -rE --exclude-dir=.git '需|模板|绪言' . @echo blank: @echo '======================================================================' @echo '$@: check for trailing spaces and tabs' @echo '----------------------------------------------------------------------' - ! grep -r --exclude-dir=.git '[ ]\+$$' . + ! grep -r --exclude-dir=.git '[ ]\+$$' --exclude '*.patch' . @echo tail: