From cb6bea3f360f08b782404e17a6d8735906918c5f Mon Sep 17 00:00:00 2001 From: MatthewBeshay <92357869+MatthewBeshay@users.noreply.github.com> Date: Wed, 18 Mar 2026 11:24:10 +1100 Subject: [PATCH 1/2] Update .gitignore --- .gitignore | 56 ++++++++++++++++++++++++++---------------------------- 1 file changed, 27 insertions(+), 29 deletions(-) diff --git a/.gitignore b/.gitignore index 078c49c1e..a98492abb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,30 +1,28 @@ -# ----- Build output directories ----- -build/ -builddir/ -.cache/ -.idea/ -build_meson/ +# Exclude everything by default +/* -# meson subprojects (git clone'd on build) -/subprojects/* -!/subprojects/*.wrap - -# Nix flake output -result - -# Meson generated artifacts (inside source tree, e.g. per-subdir) -meson-private/ -meson-info/ -meson-logs/ - -# ----- IDE / editor ----- -.cache/ -.idea/ -.vscode/ -*.code-workspace -*.swp -*.swo -*~ - -# ----- Documentation ----- -docs/ +# Except for tracked top-level project directories +!/.devcontainer/ +!/.github/ +!/.github-assets/ +!/4J.Input/ +!/4J.Profile/ +!/4J.Render/ +!/4J.Storage/ +!/docs/ +!/Minecraft.Assets/ +!/Minecraft.Client/ +!/Minecraft.World/ +!/scripts/ +!/subprojects/ +!/.clang-format +!/.git-blame-ignore-revs +!/.gitattributes +!/.gitignore +!/.gitmodules +!/CONTRIBUTING.md +!/flake.lock +!/flake.nix +!/meson.build +!/meson.options +!/README.md \ No newline at end of file From a9e0906cbe421b6fb4234784d5c9de09282eb6d5 Mon Sep 17 00:00:00 2001 From: MatthewBeshay <92357869+MatthewBeshay@users.noreply.github.com> Date: Thu, 19 Mar 2026 07:07:50 +1100 Subject: [PATCH 2/2] Update .gitignore to include subprojects/.wraplock Add exception for subprojects/.wraplock in .gitignore --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a98492abb..fdc1dc597 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # Exclude everything by default /* +/subprojects/.wraplock # Except for tracked top-level project directories !/.devcontainer/ @@ -25,4 +26,4 @@ !/flake.nix !/meson.build !/meson.options -!/README.md \ No newline at end of file +!/README.md