3.1.41.2.4. waf_tools.vscode.build_tasks
- waf_tools.vscode.build_tasks(bld: BuildContext, vscode_dir: Node) None
Patch
tasks.jsonwith platform-specific shell and wrapper commands.Reads the template
tasks.jsonfromvscode_dir, then for each defined task:Sets the working directory (
options.cwd) to the project root.Sets the
commandto the platform shell (pwshorbash).Prepends shell-specific flags and the
fox.pywrapper script path to the task arguments.Updates
problemMatcherfile locations to useautoDetectwith the project root.
- Parameters:
bld – The active build context.
vscode_dir – The target
.vscodedirectory node.