mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
[build] Update compile_commands.json when building
The compile_commands.json database is used by clangd to understand the compilation settings of the project. Keep this up to date by making ninja update it as part of the build, and have it depend on all build and module files.
This commit is contained in:
@@ -76,3 +76,6 @@ rule strip
|
||||
|
||||
rule touch
|
||||
command = touch $out
|
||||
|
||||
rule compdb
|
||||
command = ninja -t compdb > $out
|
||||
|
||||
Reference in New Issue
Block a user