mirror of
https://github.com/google/pebble
synced 2026-10-16 16:24:12 +02:00
@@ -46,7 +46,7 @@ def write_compilation_database(ctx):
|
|||||||
if not os.path.exists(file_path):
|
if not os.path.exists(file_path):
|
||||||
with open(file_path, 'w') as f:
|
with open(file_path, 'w') as f:
|
||||||
f.write('[]')
|
f.write('[]')
|
||||||
Logs.info("Store compile comands in %s" % file_path)
|
Logs.info("Store compile commands in %s" % file_path)
|
||||||
clang_db = dict((x["file"], x) for x in json.load(database_file))
|
clang_db = dict((x["file"], x) for x in json.load(database_file))
|
||||||
for task in getattr(ctx, 'clang_compilation_database_tasks', []):
|
for task in getattr(ctx, 'clang_compilation_database_tasks', []):
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user