1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00
Radarr/package.bat

43 lines
1.1 KiB
Batchfile
Raw Normal View History

SET PACKAGEROOT=_rawPackage
SET TARGET=%PACKAGEROOT%\NzbDrone
rd %PACKAGEROOT% /S /Q
del nzbdrone*.zip /Q /F
2013-01-07 04:41:17 +01:00
echo ##teamcity[progressMessage 'Packaging release']
xcopy IISExpress %TARGET%\IISExpress /E /V /I /Y
2011-12-19 06:08:36 +01:00
xcopy ServiceHelpers\ServiceInstall\bin\Release\*.exe %TARGET%\ /E /V /I /Y
xcopy ServiceHelpers\ServiceUninstall\bin\Release\*.exe %TARGET%\ /E /V /I /Y
2011-12-19 06:08:36 +01:00
xcopy NzbDrone\bin\Debug\*.* %TARGET%\ /E /V /I /Y
xcopy NzbDrone\bin\Release\*.* %TARGET%\ /E /V /I /Y
2011-12-19 06:08:36 +01:00
xcopy NzbDrone.Update\bin\Debug\*.* %TARGET%\NzbDrone.Update\ /E /V /I /Y
xcopy NzbDrone.Update\bin\Release\*.* %TARGET%\NzbDrone.Update\ /E /V /I /Y
CD %PACKAGEROOT%
del nlog.xml /Q /F /S
del nlog.pdb /Q /F /S
del Twitterizer2.pdb /Q /F /S
del *.vshost.exe.* /Q /F /S
del ninject*.pdb /Q /F /S
del ninject*.xml /Q /F /S
del nlog.pdb /Q /F /S
del Newtonsoft.Json.xml /Q /F /S
del Newtonsoft.Json.pdb /Q /F /S
del Mvc*.pdb /Q /F /S
2012-02-11 01:48:20 +01:00
del *debug.js /Q /F /S
del *-vsdoc.js /Q /F /S
..\Libraries\7zip\7za.exe a -tzip ..\NzbDrone.zip *
2013-01-07 04:41:17 +01:00
CD ..
echo ##teamcity[progressMessage 'Release packaged']