Skip to content

Commit a9244ee

Browse files
authored
chore: do not carry what is not the package (#3)
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 a51aa1c commit a9244ee

2 files changed

Lines changed: 16 additions & 5 deletions

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

.vscode/settings.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)