Skip to content

Commit 5bc73d1

Browse files
committed
chore: do not carry what is not the package
Two files were tracked that describe a machine rather than the package: one editor's settings, and a compilation database whose every entry is an absolute path on the machine that produced it. Neither is reproducible, neither is read by anything that builds this package, and both change whenever somebody opens the directory. The ignore list is now the same in all six repositories of this project, and it names what a build produces, what an editor leaves beside the sources, and what a file browser leaves behind. A repository that carries one editor's settings has an opinion about editors.
1 parent 9976346 commit 5bc73d1

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

.gitignore

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
1+
# What a build produces.
12
target/
23
.mcpp/
3-
compile_commands.json
44
mcpp.lock
5+
compile_commands.json
6+
7+
# What an editor or a tool leaves beside the sources. None of it describes the
8+
# package: a repository that carries one editor's settings has an opinion about
9+
# editors, and a repository that carries a compilation database has an opinion
10+
# about one machine's paths.
11+
.vscode/
12+
.idea/
13+
.cache/
14+
*.swp
15+
*~
16+
17+
# What a system leaves behind.
18+
.DS_Store
19+
Thumbs.db

0 commit comments

Comments
 (0)