bazel-compile-commands-extractor icon indicating copy to clipboard operation
bazel-compile-commands-extractor copied to clipboard

Append to existing .json file, not reset it

Open kooooootb opened this issue 9 months ago • 0 comments

Hello Is there a way to run this utility without clearing previously generated compile_commands.json file? can't find any

Reason for that is that I work with big repository and usually generate .json file only for some targets that I currently work with now

Generating .json for whole repo won't work because it's too big which means that I have to eliminate all errors and even if I would do it, generation would take more than 15 mins which should be done after each file tree tweak

I can't see any difficulties with appending generated file to existing one and Im doing it now but with manually concatenating generated files, it works fine as far

kooooootb avatar Jan 10 '25 07:01 kooooootb