Skip to content

Commit 319b9cc

Browse files
committed
Improve .gitignore to cover more cases.
This excludes anything rebuilderd might create alongside common Rust cruft. Additionally, .vscode/ and .idea/ are ignored, since those are common editors.
1 parent eccfd07 commit 319b9cc

File tree

1 file changed

+31
-6
lines changed

1 file changed

+31
-6
lines changed

.gitignore

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,35 @@
1-
/target
1+
### Rust ###
2+
# Generated by Cargo
3+
# will have compiled files and executables
4+
debug/
5+
target/
6+
7+
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
8+
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
9+
Cargo.lock
10+
11+
# These are backup files generated by rustfmt
212
**/*.rs.bk
13+
14+
# MSVC Windows builds of rustc generate these, which store debugging information
15+
*.pdb
16+
17+
## Common IDEs ###
18+
.idea/*
19+
.vscode/*
20+
21+
### rebuilderd ###
322
contrib/*.1
23+
424
rebuilder.key
525
rebuilder.v2.key
6-
/worker/build/
7-
/worker/cache/
8-
/data/
9-
/secret/
10-
*.sw[op]
26+
27+
rebuilderd.sign.key
28+
29+
worker/build/
30+
worker/cache/
31+
32+
data/
33+
secret/
34+
35+
rebuilderd.db*

0 commit comments

Comments
 (0)