Skip to content

Commit 8d55180

Browse files
committed
Merge pull request Azure#1585 from markcowl/cluformat
Update BuildPackage.ps1 to remove redundant copies of xml files
2 parents 0a1cf4f + 8a430ed commit 8d55180

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tools/CLU/BuildPackage.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,9 @@ $fileContent = Get-Content $nuSpecTemplate
2828
$renameFileExists = Test-Path -Path ([System.IO.Path]::Combine($packageSource, "content", "rename.cfg"))
2929
$files = (Get-ChildItem $packageSource | Where -FilterScript {!$_.Name.Contains("nuspec")} | Select-Object -Property Name)
3030
$refFiles = $files | Where -FilterScript { $_.Name.EndsWith(".dll")}
31-
$contentFiles = $files | Where -FilterScript { $_.Name.EndsWith("xml")}
3231
$refFileText = ""
3332
$refFiles | %{$refFileText += (" <reference file=""" + $_.Name + """/>`r`n")}
3433
$contentFileText = ""
35-
$contentFiles | %{ $contentFileText += (" <file src=""" + $_.Name + """ target=""content""/>`r`n")}
3634
if ($packageId -ne "Microsoft.CLU.Commands")
3735
{
3836
$contentFileText += " <file src=""content\*.lx"" target=""content""/>`r`n"

0 commit comments

Comments
 (0)