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
1 changed files with 4 additions and 0 deletions

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