Skip to content

Commit

Permalink
Update configure.py
Browse files Browse the repository at this point in the history
Co-authored-by: Stefan Stojanovic <[email protected]>
  • Loading branch information
segevfiner and StefanStojanovic committed May 27, 2024
1 parent 7675f7b commit 1179f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -2274,7 +2274,7 @@ def make_bin_override():

print_verbose("running: \n " + " ".join(['python', 'tools/gyp_node.py'] + gyp_args))
run_gyp(gyp_args)
if sys.platform == 'win32':
if options.compile_commands_json and sys.platform == 'win32':
os.path.isfile('./compile_commands.json') and os.unlink('./compile_commands.json')
shutil.copy2('./out/' + config['BUILDTYPE'] + '/compile_commands.json', './compile_commands.json')
info('configure completed successfully')

0 comments on commit 1179f97

Please sign in to comment.