build: store compile_commands.json in source tree .config dir

This commit is contained in:
2023-03-13 21:41:33 +00:00
parent c8facafb77
commit e66c611038
2 changed files with 3 additions and 2 deletions

View File

@@ -55,6 +55,6 @@ for line in make_output_lines:
os.system('make')
out_file = open('build/compile_commands.json', 'w')
out_file = open('.config/compile_commands.json', 'w')
json.dump(compile_db, out_file, indent=4)