Skip to content

Commit

Permalink
test 3
Browse files Browse the repository at this point in the history
  • Loading branch information
paperdave committed Nov 1, 2023
1 parent 27ae44c commit 4587298
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion windows-release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ if ($Env:VSCMD_ARG_TGT_ARCH -eq "x86") {

# Remove strawberry from the path while compiling ICU
# They define `link.exe` and many other things which will cause the build to fail.
$env:PATH = $env:PATH -replace "C:\\Strawberry\\c\\bin;", ""
$OriginalPath = $env:PATH
$env:PATH = ($env:PATH -split ";" | Where-Object { $_ -notlike "*strawberry*" }) -join ';'

$output = if ($env:WEBKIT_OUTPUT_DIR) { $env:WEBKIT_OUTPUT_DIR } else { "bun-webkit" }
$WebKitBuild = if ($env:WEBKIT_BUILD_DIR) { $env:WEBKIT_BUILD_DIR } else { "WebKitBuild" }
Expand Down Expand Up @@ -118,6 +119,8 @@ $env:CXXFLAGS = "/Zi /Z7"

Write-Host ":: Configuring WebKit"

$env:PATH = $OriginalPath

cmake -S . -B $WebKitBuild `
-DPORT="JSCOnly" `
-DENABLE_STATIC_JSC=ON `
Expand Down

0 comments on commit 4587298

Please sign in to comment.