chore: add include.gypi for parcel-bundler/watcher BinSkim results (#257514)

This commit is contained in:
Raymond Zhao 2025-07-24 07:59:58 -07:00 committed by GitHub
parent c8bbfbeba6
commit 8d2cd62b62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 35 additions and 1 deletions

View File

@ -1 +1 @@
2025-06-09T07:16:15.626Z
2025-07-23T19:44:03.051Z

View File

@ -95,6 +95,40 @@ steps:
condition: and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'), ne(variables['NPM_REGISTRY'], 'none'))
displayName: Setup NPM Authentication
# Remove once https://github.com/parcel-bundler/watcher/pull/202 is merged.
- pwsh: |
$includes = @'
{
'target_defaults': {
'conditions': [
['OS=="win"', {
"msvs_settings": {
"VCCLCompilerTool": {
"AdditionalOptions": [
"/guard:cf",
"/w34244",
"/w34267",
]
},
"VCLinkerTool": {
"AdditionalOptions": [
"/guard:cf",
]
}
}
}]
]
}
}
'@
if (!(Test-Path "~/.gyp")) {
mkdir "~/.gyp"
}
echo $includes > "~/.gyp/include.gypi"
displayName: Create include.gypi
condition: and(succeeded(), ne(variables.NODE_MODULES_RESTORED, 'true'))
- powershell: |
. build/azure-pipelines/win32/exec.ps1
$ErrorActionPreference = "Stop"