We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 721af42 commit 06ad62dCopy full SHA for 06ad62d
extension/BuildPhpExtension/private/Add-Package.ps1
@@ -51,7 +51,10 @@ function Add-Package {
51
# TODO: Filter these using deplister
52
if(Test-Path ..\deps\bin) {
53
Get-ChildItem -Path ..\deps\bin -Recurse -Include "*.dll", "*.pdb" | ForEach-Object {
54
- Copy-Item -Path $_.FullName -Destination artifacts -Force
+ $fileName = $_.Name.Split('.')[0]
55
+ if(-not(Test-Path "php-bin\$fileName.dll")) {
56
+ Copy-Item -Path $_.FullName -Destination artifacts -Force
57
+ }
58
}
59
if(Test-Path (Join-Path -Path ..\deps\bin -ChildPath "*.xml")) {
60
New-Item -ItemType Directory -Path artifacts\config -Force | Out-Null
0 commit comments