1
0
mirror of https://github.com/github/gitignore synced 2024-11-22 03:34:23 +01:00

Update Godot.gitignore

I need to keep certain folders and files within the .godot directory in my project's repository, specifically due to issues related to PCK files during the GitHub workflow process. PCK files, which are essential for the Godot Engine projects, contain packaged project assets and resources. When the GitHub workflow runs without these specific directories ('exported', 'imported') and the file global_script_class_cache.cfg present, it tries to recreate them. However, it often fails to properly reestablish the necessary links and configurations.

Moreover, there's an observed issue where, if these directories are missing, the project builds successfully, but the resulting executable exhibits errors upon launching. Particularly, some scripts fail to execute correctly. This problem might not directly stem from the PCK files themselves, but the absence of these directories seems to disrupt the proper functioning of the build. Retaining these directories and files is thus crucial to ensure a smooth and error-free build and execution process
This commit is contained in:
Max Aigner 2023-12-14 14:38:17 +01:00 committed by GitHub
parent 4488915eec
commit 49d5a2f3d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,11 @@
# Godot 4+ specific ignores
.godot/
.godot/*
# allow those folders and files as they are required for remote-building e.g. using github actions
# They do not get recreated properly when you use PCK files inside of your project in Version 4.1.13
!.godot/exported/
!.godot/imported/
!.godot/global_script_class_cache.cfg
# Godot-specific ignores
.import/