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

View File

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