mirror of https://github.com/google/pebble
spelling: commands
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
81b2d104a6
commit
9d9edae49f
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue