From 3f30ce2e47e8c4fa30379c428640bfacd6ff0df7 Mon Sep 17 00:00:00 2001 From: Benjamin Brienen Date: Mon, 11 Nov 2024 19:48:11 +0100 Subject: [PATCH] Gitignore all target folders (#16336) # Objective Some target folders (such as `crates\bevy_color\crates\gen_tests\target`) are not in the `.gitignore`. ## Solution Use a better pattern. ## Testing Tested locally --- .gitignore | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 42b22faa25..d3b84d9590 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,9 @@ # Rust build artifacts -/target -crates/*/target +target +crates/**/target +benches/**/target +tools/**/target **/*.rs.bk -/benches/target -/tools/compile_fail_utils/target # Cargo Cargo.lock @@ -11,8 +11,8 @@ Cargo.lock .cargo/config.toml # IDE files -/.idea -/.vscode +.idea +.vscode .zed dxcompiler.dll dxil.dll