aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Igne <git@federicoigne.com>2021-11-05 12:18:41 +0000
committerFederico Igne <git@federicoigne.com>2021-11-05 12:18:41 +0000
commita4fcb13e89b055f710e6f38437208fc87b0a6edd (patch)
treedafbd9963068d48a40ce2d7cea2a3e0a8b255171
parent9f2e6eb26e45460c42e048cdbaa023ef76067571 (diff)
downloadexercism-a4fcb13e89b055f710e6f38437208fc87b0a6edd.tar.gz
exercism-a4fcb13e89b055f710e6f38437208fc87b0a6edd.zip
Update .gitignore files
-rw-r--r--.gitignore34
-rw-r--r--rust/.gitignore20
2 files changed, 34 insertions, 20 deletions
diff --git a/.gitignore b/.gitignore
index a7a4d23..09663d3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,12 @@
1# Created by https://www.gitignore.io/api/vim,rust,linux 1# Created by https://www.toptal.com/developers/gitignore/api/linux,vim,exercism
2# Edit at https://www.gitignore.io/?templates=vim,rust,linux 2# Edit at https://www.toptal.com/developers/gitignore?templates=linux,vim,exercism
3
4### Exercism ###
5# gitignore template for Exercism project
6# website: https://exercism.io/
7
8# Ignore .exercism folder which contain sensitive data
9.exercism
3 10
4### Linux ### 11### Linux ###
5*~ 12*~
@@ -7,27 +14,19 @@
7# temporary files which can be created if a process still has a handle open of a deleted file 14# temporary files which can be created if a process still has a handle open of a deleted file
8.fuse_hidden* 15.fuse_hidden*
9 16
17# KDE directory preferences
18.directory
19
10# Linux trash folder which might appear on any partition or disk 20# Linux trash folder which might appear on any partition or disk
11.Trash-* 21.Trash-*
12 22
13# .nfs files are created when an open file is removed but is still being accessed 23# .nfs files are created when an open file is removed but is still being accessed
14.nfs* 24.nfs*
15 25
16### Rust ###
17# Generated by Cargo
18# will have compiled files and executables
19/target/
20
21# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
22# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
23Cargo.lock
24
25# These are backup files generated by rustfmt
26**/*.rs.bk
27
28### Vim ### 26### Vim ###
29# Swap 27# Swap
30[._]*.s[a-v][a-z] 28[._]*.s[a-v][a-z]
29!*.svg # comment out if you don't need vector files
31[._]*.sw[a-p] 30[._]*.sw[a-p]
32[._]s[a-rt-v][a-z] 31[._]s[a-rt-v][a-z]
33[._]ss[a-gi-z] 32[._]ss[a-gi-z]
@@ -39,14 +38,9 @@ Sessionx.vim
39 38
40# Temporary 39# Temporary
41.netrwhist 40.netrwhist
42
43# Auto-generated tag files 41# Auto-generated tag files
44tags 42tags
45
46# Persistent undo 43# Persistent undo
47[._]*.un~ 44[._]*.un~
48 45
49# Coc configuration directory 46# End of https://www.toptal.com/developers/gitignore/api/linux,vim,exercism
50.vim
51
52# End of https://www.gitignore.io/api/vim,rust,linux
diff --git a/rust/.gitignore b/rust/.gitignore
new file mode 100644
index 0000000..389159a
--- /dev/null
+++ b/rust/.gitignore
@@ -0,0 +1,20 @@
1# Created by https://www.toptal.com/developers/gitignore/api/rust
2# Edit at https://www.toptal.com/developers/gitignore?templates=rust
3
4### Rust ###
5# Generated by Cargo
6# will have compiled files and executables
7debug/
8target/
9
10# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
11# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
12Cargo.lock
13
14# These are backup files generated by rustfmt
15**/*.rs.bk
16
17# MSVC Windows builds of rustc generate these, which store debugging information
18*.pdb
19
20# End of https://www.toptal.com/developers/gitignore/api/rust