Skip to content

Commit 42e4c3a

Browse files
andycallclaude
andcommitted
fix: build webf_unit_test target for Windows
The Windows build only built the webf target but not webf_unit_test, causing the unit test step to fail with exe not found. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4ddb08d commit 42e4c3a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

scripts/tasks.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,9 @@ task('build-window-webf-lib', (done) => {
724724
});
725725

726726
const webfTargets = ['webf'];
727+
if (targetJSEngine === 'quickjs') {
728+
webfTargets.push('webf_unit_test');
729+
}
727730

728731
// build
729732
execSync(`cmake --build ${bridgeCmakeDir} --target ${webfTargets.join(' ')} --verbose --config ${buildType}`, {

0 commit comments

Comments
 (0)