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 {
24
24
if ($Config.debug_symbols ) {
25
25
$options += " --enable-debug-pack"
26
26
}
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 )
28
28
29
29
$ref = $Config.ref
30
30
if ($env: ARTIFACT_NAMING_SCHEME -eq ' pecl' ) {
@@ -38,7 +38,7 @@ Function Invoke-Build {
38
38
$Config.vs_version ,
39
39
$Config.arch
40
40
) -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"
42
42
Set-GAGroup end
43
43
if (-not (Test-Path " $ ( (Get-Location ).Path) \$ ( $Config.build_directory ) \php_$ ( $Config.name ) .dll" )) {
44
44
throw " Failed to build the extension"
You can’t perform that action at this time.
0 commit comments