mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
add newline at end of file where it's lacking
.editorconfig already enforces it but it's getting changed piecemeal in every commit. just get it done with. the script: ``` find . -type f -not -path "./.git/*" -not -path "./.vs/*" | while read -r file; do isFile=$(file -0 "$file" | cut -d $'\0' -f2) case "$isFile" in (*text*) echo "$file is text" if [[ $(tail -c 1 "$file" | wc -l) -ne 1 ]]; then echo "" >> "$file" fi ;; (*) echo "file isn't text" ;; esac done ```
This commit is contained in:
committed by
majcosta
parent
1d58bda82d
commit
86ad401186
@@ -240,4 +240,4 @@ typedef struct TAG_STRUCTURE_FILE_HEADER
|
||||
#define STRUCTURE_FILE_CONTAINS_AUXIMAGEDATA 0x01
|
||||
#define STRUCTURE_FILE_CONTAINS_STRUCTUREDATA 0x02
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -100,4 +100,4 @@ typedef VECTOR4 MATRIX4[4]; // 4x4 matrix
|
||||
typedef VECTOR4 COLOR; // rgba color array
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user