Commit f9c29bd6 authored by Martin Finkel's avatar Martin Finkel

packaging: Add package count check

parent c2e352c6
del *.nupkg
$libvlcsharpPackagesCount = 7;
.\build-and-package-libvlcsharp.ps1
.\build-and-package-libvlcsharp-forms.ps1
.\build-and-package-libvlcsharp-wpf.ps1
.\build-and-package-libvlcsharp-forms-wpf.ps1
.\build-and-package-libvlcsharp-gtk.ps1
.\build-and-package-libvlcsharp-forms-gtk.ps1
.\build-and-package-libvlcsharp-winforms.ps1
\ No newline at end of file
.\build-and-package-libvlcsharp-winforms.ps1
$nugetPackages = Get-ChildItem -recurse -filter *.nupkg | Group-Object -Property Directory
if($nugetPackages.Count -eq $libvlcsharpPackagesCount)
{
Write-Output "All $($libvlcsharpPackagesCount) packages built successfully"
}
else
{
Write-Error "Not all $($libvlcsharpPackagesCount) packages built successfully"
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment