mirror of
https://github.com/php-win-ext/php-windows-builder.git
synced 2026-03-24 00:52:06 +01:00
Add pdb and config files from deps to the package
This commit is contained in:
@@ -45,9 +45,15 @@ function Add-Package {
|
||||
}
|
||||
# TODO: Filter these using deplister
|
||||
if(Test-Path ..\deps) {
|
||||
Get-ChildItem -Path ..\deps\bin -Recurse -Filter "*.dll" | ForEach-Object {
|
||||
Get-ChildItem -Path ..\deps\bin -Recurse -Include "*.dll", "*.pdb" | ForEach-Object {
|
||||
Copy-Item -Path $_.FullName -Destination artifacts -Force
|
||||
}
|
||||
if(Test-Path (Join-Path -Path ..\deps\bin -ChildPath "*.xml")) {
|
||||
New-Item -ItemType Directory -Path artifacts\config -Force | Out-Null
|
||||
Get-ChildItem -Path ..\deps\bin -Recurse -Filter "*.xml" | ForEach-Object {
|
||||
Copy-Item -Path $_.FullName -Destination artifacts\config -Force
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Set-Location $currentDirectory\artifacts
|
||||
|
||||
Reference in New Issue
Block a user