Addition to prev. revision

This commit is contained in:
Alexey Milovidov 2020-10-10 23:23:58 +03:00
parent 269b6383f5
commit c214fd97b2

View File

@ -90,4 +90,4 @@ find $ROOT_PATH -not -path $ROOT_PATH'/docker*' -not -path $ROOT_PATH'/contrib*'
git status -uno | grep ya.make && echo "ya.make files should be generated with utils/generate-ya-make/generate-ya-make.sh"
# Check that every header file has #pragma once in first line
find $ROOT_PATH/{src,base,programs,utils} -name '*.h' | while read file; do [[ $(head -n1 $file) != '#pragma once' ]] && echo "File $file must have '#pragma once' in first line"; done
find $ROOT_PATH/{src,programs,utils} -name '*.h' | while read file; do [[ $(head -n1 $file) != '#pragma once' ]] && echo "File $file must have '#pragma once' in first line"; done