Skip to content

Commit

Permalink
Merge pull request microsoft#723 from microsoft/tyriar/compile_commands
Browse files Browse the repository at this point in the history
Move to compile commands on postinstall for fixing intellisense
  • Loading branch information
Tyriar authored Oct 4, 2024
2 parents 5063e0e + d3ea906 commit 8bdbd71
Show file tree
Hide file tree
Showing 2,367 changed files with 4 additions and 1,001,870 deletions.
4 changes: 4 additions & 0 deletions scripts/post-install.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//@ts-check

const { execSync } = require('child_process');
const fs = require('fs');
const os = require('os');
const path = require('path');
Expand Down Expand Up @@ -76,4 +77,7 @@ if (os.platform() !== 'win32') {
}
}

console.log(`\x1b[32m> Generating compile_commands.json...\x1b[0m`);
execSync('npx node-gyp configure -- -f compile_commands_json');

process.exit(0);
Loading

0 comments on commit 8bdbd71

Please sign in to comment.