File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
extension/BuildPhpExtension/private Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,15 @@ Function Add-Extension {
35
35
Set-Content - Encoding " ASCII" - Path $Extension -task.bat - Value $bat_content
36
36
$builder = " $currentDirectory \php-sdk\phpsdk-$ ( $Config.vs_version ) -$ ( $Config.Arch ) .bat"
37
37
$task = (Get-Item - Path " ." - Verbose).FullName + " \$Extension -task.bat"
38
- & $builder - t $task
38
+ $suffix = " php_" + (@ (
39
+ $Config.name ,
40
+ $Config.ref ,
41
+ $Config.php_version ,
42
+ $Config.ts ,
43
+ $Config.vs_version ,
44
+ $Config.arch
45
+ ) -join " -" )
46
+ & $builder - t $task | Tee-Object - FilePath " build-$suffix .txt"
39
47
$includePath = " $currentDirectory \php-dev\include"
40
48
New-Item - Path $includePath \ext - Name $Extension - ItemType " directory" | Out-Null
41
49
Get-ChildItem - Path (Get-Location ).Path - Recurse - Include ' *.h' , ' *.c' | Copy-Item - Destination " $includePath \ext\$Extension "
You can’t perform that action at this time.
0 commit comments