diff options
author | John Stilley <1831479+theJollySin@users.noreply.github.com> | 2020-07-03 14:07:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-03 15:07:44 -0300 |
commit | 620d4878a014cefdd1919c39527290c852539712 (patch) | |
tree | e10fc9dcb989a504726ee94ad268cdf10ddee300 | |
parent | 18aa6d83774d514da479d73a4beb864cd4220231 (diff) | |
download | gitignore-620d4878a014cefdd1919c39527290c852539712.tar.gz gitignore-620d4878a014cefdd1919c39527290c852539712.zip |
Fixing target and adding debug to Rust gitignore (#3436)
The problem here was two fold:
1. the folder "/target/" would be top-level of the repo only, it should be "target/" to properly exclude target folders anywhere in the repo
2. the default Rust/Cargo folder when compiling code is "debug/", which gets used perhaps more often that "target/", added that
-rw-r--r-- | Rust.gitignore | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Rust.gitignore b/Rust.gitignore index 088ba6ba..ff47c2d7 100644 --- a/Rust.gitignore +++ b/Rust.gitignore @@ -1,6 +1,7 @@ # Generated by Cargo # will have compiled files and executables -/target/ +debug/ +target/ # Remove Cargo.lock from gitignore if creating an executable, leave it for libraries # More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html |