chore: standardize cross-platform development setup

This commit is contained in:
2026-07-03 13:04:29 +02:00
parent 595233e5df
commit e30d208c3f
5 changed files with 155 additions and 29 deletions
+19
View File
@@ -2,3 +2,22 @@ root = true
[*] [*]
charset = utf-8 charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
[*.gd]
indent_style = tab
indent_size = 4
tab_width = 4
[*.{json,yaml,yml}]
indent_size = 2
[*.{bat,cmd}]
end_of_line = crlf
[*.md]
trim_trailing_whitespace = false
+68 -1
View File
@@ -1,7 +1,74 @@
# Normalize EOL for all files that Git considers text files. # Use deterministic line endings on every platform.
* text=auto eol=lf * text=auto eol=lf
# Godot source and serialized resources
*.gd text eol=lf *.gd text eol=lf
*.gd.uid text eol=lf
*.gdextension text eol=lf
*.gdnlib text eol=lf
*.tscn text eol=lf *.tscn text eol=lf
*.tres text eol=lf *.tres text eol=lf
*.godot text eol=lf
*.import text eol=lf
*.shader text eol=lf *.shader text eol=lf
*.gdshader text eol=lf *.gdshader text eol=lf
*.gdshaderinc text eol=lf
# Common source, configuration, and documentation formats
*.cs text eol=lf
*.cfg text eol=lf
*.ini text eol=lf
*.json text eol=lf
*.md text eol=lf
*.toml text eol=lf
*.txt text eol=lf
*.xml text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.sh text eol=lf
*.ps1 text eol=lf
# Native Windows command scripts
*.bat text eol=crlf
*.cmd text eol=crlf
# SVG is text; the remaining asset formats must never receive EOL conversion.
*.svg text eol=lf
*.bmp binary
*.dds binary
*.exr binary
*.gif binary
*.hdr binary
*.ico binary
*.jpeg binary
*.jpg binary
*.ktx binary
*.png binary
*.tga binary
*.webp binary
*.blend binary
*.fbx binary
*.glb binary
*.3ds binary
*.dae text eol=lf
*.gltf text eol=lf
*.mtl text eol=lf
*.obj text eol=lf
*.mp3 binary
*.ogg binary
*.wav binary
*.flac binary
*.mp4 binary
*.webm binary
*.avi binary
*.mov binary
*.otf binary
*.ttf binary
*.woff binary
*.woff2 binary
*.7z binary
*.gz binary
*.rar binary
*.tar binary
*.zip binary
*.pck binary
+62 -28
View File
@@ -1,44 +1,78 @@
# Godot import cache # Godot 4 editor data and imported asset cache
.import/
# Godot editor generated files
.godot/ .godot/
# Export templates and builds # Godot 3 imported asset cache
.import/
# Local export output (keep export_presets.cfg tracked)
/export/ /export/
/exports/ /exports/
/build/ /build/
/builds/ /builds/
/dist/
# Mono / C# # Godot C# / Mono generated files
.mono/ .mono/
data_*/ data_*/
mono_crash.* mono_crash.*
# Visual Studio / Rider
.vs/
.idea/
*.csproj *.csproj
*.sln *.sln
*.user
*.DotSettings.user
# macOS # Godot and application crash/log output
.DS_Store crash_handler*
# Linux
.directory
# Windows
Thumbs.db
desktop.ini
# Logs
*.log *.log
# Temporary files # Local environment and secrets
*.tmp .env
*.bak .env.*
!.env.example
# Godot crash reports # Editors and IDEs
crash_handler* .idea/
.fleet/
.vs/
.vscode/
*.code-workspace
*.suo
*.user
*.userosscache
*.sln.docstates
*.DotSettings.user
# Editor swap, backup, and temporary files
*.bak
*.orig
*.rej
*.swp
*.swo
*.temp
*.tmp
*~
.#*
\#*\#
# macOS metadata
.DS_Store
.AppleDouble
.LSOverride
Icon?
._*
.DocumentRevisions-V100/
.Spotlight-V100/
.TemporaryItems/
.Trashes/
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Windows metadata
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
[Dd]esktop.ini
$RECYCLE.BIN/
*.stackdump
# Linux desktop and trash metadata
.directory
.Trash-*
+3
View File
@@ -16,6 +16,8 @@ dest_files=["res://.godot/imported/tree-high.glb-7b56684fc38d48b551f6a2589ecabd5
nodes/root_type="" nodes/root_type=""
nodes/root_name="" nodes/root_name=""
nodes/root_script=null nodes/root_script=null
mesh_library/use_node_names_as_mesh_names=false
array_mesh/deduplicate_surfaces=true
nodes/apply_root_scale=true nodes/apply_root_scale=true
nodes/root_scale=1.0 nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false nodes/import_as_skeleton_bones=false
@@ -40,3 +42,4 @@ materials/extract_path=""
_subresources={} _subresources={}
gltf/naming_version=2 gltf/naming_version=2
gltf/embedded_image_handling=1 gltf/embedded_image_handling=1
gltf/texture_map_mode=0
+3
View File
@@ -16,6 +16,8 @@ dest_files=["res://.godot/imported/tree.glb-5e87a640dbd9ffc2053ff1705fe52b99.scn
nodes/root_type="" nodes/root_type=""
nodes/root_name="" nodes/root_name=""
nodes/root_script=null nodes/root_script=null
mesh_library/use_node_names_as_mesh_names=false
array_mesh/deduplicate_surfaces=true
nodes/apply_root_scale=true nodes/apply_root_scale=true
nodes/root_scale=1.0 nodes/root_scale=1.0
nodes/import_as_skeleton_bones=false nodes/import_as_skeleton_bones=false
@@ -40,3 +42,4 @@ materials/extract_path=""
_subresources={} _subresources={}
gltf/naming_version=2 gltf/naming_version=2
gltf/embedded_image_handling=1 gltf/embedded_image_handling=1
gltf/texture_map_mode=0