Skip to content

Commit 371613f

Browse files
author
Johan Stenberg (johanste)
committed
- Special-case the Microsoft.CLU.Commands package for build as that is the only command package that shouldn't include azure.lx
- No longer include the azure.bat file in the package as that is not needed.
1 parent 2838cab commit 371613f

File tree

5 files changed

+4
-10
lines changed

5 files changed

+4
-10
lines changed

src/CLU/Microsoft.Azure.Commands.Management.Storage/Tools/azure.bat

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/CLU/Microsoft.Azure.Commands.Profile/Tools/azure.bat

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/CLU/Microsoft.Azure.Commands.Resources/Tools/azure.bat

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/CLU/Microsoft.Azure.Commands.Websites/Tools/azure.bat

Lines changed: 0 additions & 2 deletions
This file was deleted.

tools/CLU/BuildProfile.ps1

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ $refFileText = ""
2929
$refFiles | %{$refFileText += (" <reference file=""" + $_.Name + """/>`r`n")}
3030
$contentFileText = ""
3131
$contentFiles | %{ $contentFileText += (" <file src=""" + $_.Name + """ target=""content""/>`r`n")}
32-
$contentFileText += " <file src=""content\azure.lx"" target=""content""/>`r`n"
32+
if ($packageId -ne "Microsoft.CLU.Commands")
33+
{
34+
$contentFileText += " <file src=""content\azure.lx"" target=""content""/>`r`n"
35+
}
3336
$contentFileText += " <file src=""content\package.cfg"" target=""content""/>`r`n"
34-
$contentFileText += " <file src=""tools\azure.bat"" target=""tools""/>`r`n"
3537
$sourceFileText = ""
3638
$refFiles | %{$sourceFileText += (" <file src=""" + $_.Name + """ target=""lib\dnxcore50""/>`r`n")}
3739
$outputContent = $fileContent -replace "%PackageVersion%", $packageVersion

0 commit comments

Comments
 (0)