forked from castle-engine/castle-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
66 lines (62 loc) · 2.63 KB
/
.gitattributes
File metadata and controls
66 lines (62 loc) · 2.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# See https://github.com/github/linguist about the linguist attributes.
#
# See about line endings:
# - https://help.github.com/en/articles/dealing-with-line-endings
# - https://www.aleksandrhovhannisyan.com/blog/crlf-vs-lf-normalizing-line-endings-in-git/
# Very helpful to learn evolution of line endings handling in GIT --
# recommendations changed over time.
# We expect that you commit text files with Unix line endings to the repository.
# If you work on Windows, you can configure GIT to either automatically convert
# between Windows/Unix on download/upload (so you will see Windows line endings,
# but you will still commit Unix line endings),
# or you can let GIT to preserve line endings from the repository
# (in which case you will see, and commit, Unix line endings;
# make sure that your text editor handles Unix line endings,
# and that you create new lines with Unix line endings).
# convert line endings, Pascal
*.inc linguist-language=Pascal text eol=auto
*.lpr linguist-language=Pascal text eol=auto
*.dpr linguist-language=Pascal text eol=auto
*.pas linguist-language=Pascal text eol=auto
# convert line endings, other text
*.lpk text eol=auto
*.xml text eol=auto
*.dpk text eol=auto
*.md text eol=auto
*.txt text eol=auto
*.lpi text eol=auto
*.json text eol=auto
*.castle-user-interface text eol=auto
*.castle-component text eol=auto
*.castle-transform text eol=auto
.gitignore text eol=auto
Makefile text eol=auto
*.iss text eol=auto
# do not convert line endings (binary)
*.gltf binary
*.glb binary
# Note: svg could *probably* be treated as text (it's XML, line endings
# could be native), but it's safer to treat it as binary.
# We edit it in mostly graphic editors like Inkscape anyway,
# so no need to worry about line endings and text editors.
*.svg binary
# Treat these as binary, they may contain gzip data - see tests/data/gzipped_x3d/sphere_normal_extension_but_gzipped.wrl
*.x3d binary
*.wrl binary
# Do not convert line endings inside these files,
# as they have to be equal to line endings inside test ZIP.
tests/data/zip/*.txt binary
tests/data/zip/subdir/*.txt binary
# Even on Windows, shell scripts line endings must be Unix, to work with Cygwin's bash.
*.sh text eol=lf
cge_shell_tests eol=lf
tools/internal/build_web_demos eol=lf
tools/internal/check_build_tool_output eol=lf
tools/internal/check_castle_window_backends_compilation eol=lf
tools/internal/check_lpg_compilation eol=lf
tools/internal/check_no_accidental_executable eol=lf
tools/internal/examples_edit_readmes eol=lf
tools/internal/examples_edit_readmes_helper eol=lf
tools/internal/examples_regenerate_auto_files eol=lf
tools/internal/lazbuild_retry eol=lf
*gradlew text eol=lf