1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-24 16:53:54 +00:00

remove vshost files from all packages

This commit is contained in:
Keivan Beigi 2014-10-18 10:05:24 -07:00
parent 7f75a39752
commit 0ed0c5c5db

View file

@ -69,6 +69,9 @@ Function CleanFolder($path, $keepConfigFiles)
Write-Host Removing .less files Write-Host Removing .less files
get-childitem $path -File -Filter *.less -Recurse | foreach ($_) {remove-item $_.fullname} get-childitem $path -File -Filter *.less -Recurse | foreach ($_) {remove-item $_.fullname}
Write-Host Removing vshost files
get-childitem $path -File -Filter *.vshost.exe -Recurse | foreach ($_) {remove-item $_.fullname}
if(Test-Path $$path\NuGet) if(Test-Path $$path\NuGet)
{ {
Write-Host Removing NuGet Write-Host Removing NuGet
@ -125,8 +128,6 @@ Function PackageMono()
Rename-Item $_.fullname $newName Rename-Item $_.fullname $newName
} }
Remove-Item "$outputFolderMono\NzbDrone.Console.vshost.exe"
Write-Host Adding NzbDrone.Mono to UpdatePackage Write-Host Adding NzbDrone.Mono to UpdatePackage
Copy-Item $outputFolderMono\* $updateFolderMono -Filter NzbDrone.Mono.* Copy-Item $outputFolderMono\* $updateFolderMono -Filter NzbDrone.Mono.*
@ -197,7 +198,7 @@ Function PackageTests()
Write-Host "##teamcity[progressFinish 'Creating Test Package']" Write-Host "##teamcity[progressFinish 'Creating Test Package']"
} }
Function RunGrunt() Function RunGulp()
{ {
Write-Host "##teamcity[progressStart 'Running Gulp']" Write-Host "##teamcity[progressStart 'Running Gulp']"
$gulpPath = '.\node_modules\gulp\bin\gulp' $gulpPath = '.\node_modules\gulp\bin\gulp'
@ -231,7 +232,7 @@ Function CleanupWindowsPackage()
} }
Build Build
RunGrunt RunGulp
PackageMono PackageMono
PackageOsx PackageOsx
PackageTests PackageTests