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
This commit is contained in:
Benjamin Brienen 2024-11-11 19:48:11 +01:00 committed by GitHub
parent 1d7f663475
commit 3f30ce2e47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

12
.gitignore vendored
View file

@ -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