From e942104eb548dad2763508af5e5d84b198b3219c Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Thu, 6 Aug 2020 06:13:02 +0300 Subject: [PATCH] Add a check --- utils/check-style/check-style | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/check-style/check-style b/utils/check-style/check-style index a42f68225bb..e3e90e17c7a 100755 --- a/utils/check-style/check-style +++ b/utils/check-style/check-style @@ -62,3 +62,6 @@ find $ROOT_PATH/docs/ru -name '*.md' | xargs grep -l -F 'machine_translated: tru # Tests should not be named with "fail" in their names. It makes looking at the results less convenient. find $ROOT_PATH/tests/queries -iname '*fail*' | grep . && echo 'Tests should not be named with "fail" in their names. It makes looking at the results less convenient when you search for "fail" substring in browser.' + +# All the submodules should be from https://github.com/ +find $ROOT_PATH -name '.gitmodules' | while read i; do grep -F 'url = ' $i | grep -v -F 'https://github.com/' && echo 'All the submodules should be from https://github.com/'; done