File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
extension/BuildPhpExtension/private Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Function Invoke-Build {
2424 if ($Config.debug_symbols ) {
2525 $options += " --enable-debug-pack"
2626 }
27- Set-Content - Path $ task - Value (Get-Content - Path $task - Raw).Replace(" OPTIONS" , $options )
27+ Set-Content - Path task.bat - Value (Get-Content - Path $task - Raw).Replace(" OPTIONS" , $options )
2828
2929 $ref = $Config.ref
3030 if ($env: ARTIFACT_NAMING_SCHEME -eq ' pecl' ) {
@@ -38,7 +38,7 @@ Function Invoke-Build {
3838 $Config.vs_version ,
3939 $Config.arch
4040 ) -join " -" )
41- & $builder - c $Config.vs_version - a $Config.Arch - s $Config.vs_toolset - t $ task | Tee-Object - FilePath " build-$suffix .txt"
41+ & $builder - c $Config.vs_version - a $Config.Arch - s $Config.vs_toolset - t task.bat | Tee-Object - FilePath " build-$suffix .txt"
4242 Set-GAGroup end
4343 if (-not (Test-Path " $ ( (Get-Location ).Path) \$ ( $Config.build_directory ) \php_$ ( $Config.name ) .dll" )) {
4444 throw " Failed to build the extension"
You can’t perform that action at this time.
0 commit comments