From a4fcb13e89b055f710e6f38437208fc87b0a6edd Mon Sep 17 00:00:00 2001 From: Federico Igne Date: Fri, 5 Nov 2021 12:18:41 +0000 Subject: Update .gitignore files --- .gitignore | 34 ++++++++++++++-------------------- rust/.gitignore | 20 ++++++++++++++++++++ 2 files changed, 34 insertions(+), 20 deletions(-) create mode 100644 rust/.gitignore diff --git a/.gitignore b/.gitignore index a7a4d23..09663d3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,12 @@ -# Created by https://www.gitignore.io/api/vim,rust,linux -# Edit at https://www.gitignore.io/?templates=vim,rust,linux +# Created by https://www.toptal.com/developers/gitignore/api/linux,vim,exercism +# Edit at https://www.toptal.com/developers/gitignore?templates=linux,vim,exercism + +### Exercism ### +# gitignore template for Exercism project +# website: https://exercism.io/ + +# Ignore .exercism folder which contain sensitive data +.exercism ### Linux ### *~ @@ -7,27 +14,19 @@ # temporary files which can be created if a process still has a handle open of a deleted file .fuse_hidden* +# KDE directory preferences +.directory + # Linux trash folder which might appear on any partition or disk .Trash-* # .nfs files are created when an open file is removed but is still being accessed .nfs* -### Rust ### -# Generated by Cargo -# will have compiled files and executables -/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 -Cargo.lock - -# These are backup files generated by rustfmt -**/*.rs.bk - ### Vim ### # Swap [._]*.s[a-v][a-z] +!*.svg # comment out if you don't need vector files [._]*.sw[a-p] [._]s[a-rt-v][a-z] [._]ss[a-gi-z] @@ -39,14 +38,9 @@ Sessionx.vim # Temporary .netrwhist - # Auto-generated tag files tags - # Persistent undo [._]*.un~ -# Coc configuration directory -.vim - -# End of https://www.gitignore.io/api/vim,rust,linux +# End of https://www.toptal.com/developers/gitignore/api/linux,vim,exercism diff --git a/rust/.gitignore b/rust/.gitignore new file mode 100644 index 0000000..389159a --- /dev/null +++ b/rust/.gitignore @@ -0,0 +1,20 @@ +# Created by https://www.toptal.com/developers/gitignore/api/rust +# Edit at https://www.toptal.com/developers/gitignore?templates=rust + +### Rust ### +# Generated by Cargo +# will have compiled files and executables +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 +Cargo.lock + +# These are backup files generated by rustfmt +**/*.rs.bk + +# MSVC Windows builds of rustc generate these, which store debugging information +*.pdb + +# End of https://www.toptal.com/developers/gitignore/api/rust -- cgit v1.2.3