1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-23 16:23:13 +00:00

Adding NzbDrone.Windows to update package

This commit is contained in:
Mark McDowall 2014-01-27 14:38:45 -08:00
parent 63bf00ed41
commit 1cae7293e7

View file

@ -4,6 +4,7 @@ $outputFolderMono = '.\_output_mono'
$testPackageFolder = '.\_tests\' $testPackageFolder = '.\_tests\'
$testSearchPattern = '*.Test\bin\x86\Release' $testSearchPattern = '*.Test\bin\x86\Release'
$sourceFolder = '.\src' $sourceFolder = '.\src'
$updateFolder = $outputFolder + '\NzbDrone.Update'
Function Build() Function Build()
{ {
@ -178,6 +179,9 @@ Function CleanupWindowsPackage()
{ {
Write-Host Removing NzbDrone.Mono Write-Host Removing NzbDrone.Mono
get-childitem $outputFolder -File -Filter NzbDrone.Mono.* -Recurse | foreach ($_) {remove-item $_.fullname} get-childitem $outputFolder -File -Filter NzbDrone.Mono.* -Recurse | foreach ($_) {remove-item $_.fullname}
Write-Host Adding NzbDrone.Windows to UpdatePackage
Copy-Item $outputFolder\* $updateFolder -Filter NzbDrone.Windows.*
} }
Build Build