]> www.infradead.org Git - users/sagi/libnvme.git/commitdiff
gitignore: Ignore clang build artifacts
authorDaniel Wagner <dwagner@suse.de>
Fri, 20 Jan 2023 09:39:19 +0000 (10:39 +0100)
committerDaniel Wagner <dwagner@suse.de>
Fri, 20 Jan 2023 09:50:36 +0000 (10:50 +0100)
When using language server support from clang, the .cache directory is
added. Also for getting lsp working properly the compile_commands.json
file has to present (which is just a link to Meson generared json file).

Signed-off-by: Daniel Wagner <dwagner@suse.de>
.gitignore

index 7266ed62b44ee399861be396d2e139bcf9a9c9a6..89e032ec77ee9c77bf5815718f6f168a3ce3f17e 100644 (file)
@@ -8,8 +8,10 @@ a.out
 *.so.*
 *.tar.gz
 cscope.*
+compile_commands.json
 
 .build
+.cache
 
 subprojects/*
 !subprojects/*.wrap