Improvements .gitignore (#15798)

# Objective

I tried to improve gitignore. I am not a programming expert yet, so I
don't know all the junk files. If someone provides me with a list of
other files, can you point me to it below? I also tried to sort them
logically, hope it works.

> This is also my first PR in the history of this engine. and I'm very
happy 😄
This commit is contained in:
Lorenzo Giannini 2024-10-09 23:13:27 +02:00 committed by GitHub
parent 3da0ef048e
commit 6d4ac458e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

25
.gitignore vendored
View file

@ -1,26 +1,33 @@
# Rust build artifacts
/target /target
crates/*/target crates/*/target
**/*.rs.bk **/*.rs.bk
/benches/target
/tools/compile_fail_utils/target
# Cargo
Cargo.lock Cargo.lock
.cargo/config .cargo/config
.cargo/config.toml .cargo/config.toml
# IDE files
/.idea /.idea
/.vscode /.vscode
.zed .zed
/benches/target
/tools/compile_fail_utils/target
dxcompiler.dll dxcompiler.dll
dxil.dll dxil.dll
# Bevy Assets
assets/**/*.meta
crates/bevy_asset/imported_assets
imported_assets
# Bevy Examples
example_showcase_config.ron
example-showcase-reports/
# Generated by "examples/scene/scene.rs" # Generated by "examples/scene/scene.rs"
assets/scenes/load_scene_example-new.scn.ron assets/scenes/load_scene_example-new.scn.ron
# Generated by "examples/window/screenshot.rs" # Generated by "examples/window/screenshot.rs"
**/screenshot-*.png **/screenshot-*.png
assets/**/*.meta
crates/bevy_asset/imported_assets
imported_assets
example_showcase_config.ron
example-showcase-reports/