diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2022-10-09 01:25:44 -0500 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2022-10-09 01:46:28 -0500 |
commit | bcfa3bf32065af70fc637d74d4fc438b36add7d6 (patch) | |
tree | 9702c72bf116993e3c48a17bf000b0dd75ff3e2a /misc/scripts/file_format.sh | |
parent | f69f1bb58f84f3ee63b867a039da2bf475750489 (diff) | |
download | redot-cpp-bcfa3bf32065af70fc637d74d4fc438b36add7d6.tar.gz |
Add more static checks and move to separate file to match main repo
Diffstat (limited to 'misc/scripts/file_format.sh')
-rwxr-xr-x | misc/scripts/file_format.sh | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/misc/scripts/file_format.sh b/misc/scripts/file_format.sh index 0c72358..6621af5 100755 --- a/misc/scripts/file_format.sh +++ b/misc/scripts/file_format.sh @@ -15,29 +15,6 @@ IFS=$'\n\t' # Loops through all text files tracked by Git. git grep -zIl '' | while IFS= read -rd '' f; do - # Exclude some types of files. - if [[ "$f" == *"csproj" ]]; then - continue - elif [[ "$f" == *"sln" ]]; then - continue - elif [[ "$f" == *".bat" ]]; then - continue - elif [[ "$f" == *".out" ]]; then - # GDScript integration testing files. - continue - elif [[ "$f" == *"patch" ]]; then - continue - elif [[ "$f" == *"pot" ]]; then - continue - elif [[ "$f" == *"po" ]]; then - continue - elif [[ "$f" == "thirdparty"* ]]; then - continue - elif [[ "$f" == "platform/android/java/lib/src/com/google"* ]]; then - continue - elif [[ "$f" == *"-so_wrap."* ]]; then - continue - fi # Ensure that files are UTF-8 formatted. recode UTF-8 "$f" 2> /dev/null # Ensure that files have LF line endings and do not contain a BOM. |