From 60eadee980899f49e397c8c53b9bd34001b50b95 Mon Sep 17 00:00:00 2001 From: Richard He Date: Mon, 26 Dec 2022 13:48:15 +0800 Subject: [PATCH] Compdb on windows --- script/index.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/script/index.ts b/script/index.ts index 3ab83ab..79a4b2f 100644 --- a/script/index.ts +++ b/script/index.ts @@ -154,11 +154,7 @@ function run(target: string) { ensure('deps.json') chdir('script') exec(npx('ts-node'), 'syntax.ts', '../build') - if (os.platform() != 'win32') { - compdb() - } else { - console.warn('Generating compile_commands.json is not supported on Windows.') - } + compdb() break case 'build': bundle(false)