mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
bf6db247a2
commit
58c9ca9519
@ -300,6 +300,7 @@ class Build(Command):
|
||||
help='Build with sanitization support. Run with LD_PRELOAD=$(gcc -print-file-name=libasan.so)')
|
||||
|
||||
def dump_db(self, name, db):
|
||||
os.makedirs('build', exist_ok=True)
|
||||
try:
|
||||
with open(f'build/{name}_commands.json', 'w') as f:
|
||||
json.dump(db, f, indent=2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user