mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-25 01:02:05 +00:00
Updated deploy file to remove some unneeded files
This commit is contained in:
parent
25007c7807
commit
3665856d79
1 changed files with 19 additions and 13 deletions
32
package.bat
32
package.bat
|
@ -1,15 +1,20 @@
|
||||||
SET TARGET=_deploy
|
SET PACKAGEROOT=_rawPackage
|
||||||
|
SET TARGET=%PACKAGEROOT%\NzbDrone
|
||||||
|
|
||||||
rmdir /s "%TARGET%"
|
xcopy IISExpress %TARGET%\IISExpress /E /V /I /Y
|
||||||
xcopy IISExpress %TARGET%\IISExpress /E /V /I /F /Y
|
xcopy NzbDrone\bin\Release\*.* %TARGET%\ /E /V /I /Y
|
||||||
xcopy NzbDrone\bin\Release\*.* %TARGET%\ /E /V /I /F /Y
|
|
||||||
|
|
||||||
xcopy NzbDrone.Web\bin\*.* %TARGET%\NzbDrone.Web\bin\ /E /V /I /F /Y
|
del %TARGET%\nlog.xml
|
||||||
xcopy NzbDrone.Web\App_GlobalResources\*.* %TARGET%\NzbDrone.Web\App_GlobalResources\ /E /V /I /F /Y
|
del %TARGET%\*.vshost.exe.*
|
||||||
xcopy NzbDrone.Web\Content\*.* %TARGET%\NzbDrone.Web\Content\ /E /V /I /F /Y
|
|
||||||
xcopy NzbDrone.Web\Scripts\*.* %TARGET%\NzbDrone.Web\Scripts\ /E /V /I /F /Y
|
|
||||||
xcopy NzbDrone.Web\Views\*.* %TARGET%\NzbDrone.Web\Views\ /E /V /I /F /Y
|
|
||||||
|
|
||||||
|
xcopy NzbDrone.Web\bin\*.* %TARGET%\NzbDrone.Web\bin\ /E /V /I /Y
|
||||||
|
xcopy NzbDrone.Web\App_GlobalResources\*.* %TARGET%\NzbDrone.Web\App_GlobalResources\ /E /V /I /Y
|
||||||
|
xcopy NzbDrone.Web\Content\*.* %TARGET%\NzbDrone.Web\Content\ /E /V /I /Y
|
||||||
|
xcopy NzbDrone.Web\Scripts\*.* %TARGET%\NzbDrone.Web\Scripts\ /E /V /I /Y
|
||||||
|
xcopy NzbDrone.Web\Views\*.* %TARGET%\NzbDrone.Web\Views\ /E /V /I /Y
|
||||||
|
|
||||||
|
del %TARGET%\NzbDrone.Web\bin\*.xml /q
|
||||||
|
del %TARGET%\NzbDrone.Web\bin\ninject*.pdb /q
|
||||||
|
|
||||||
xcopy NzbDrone.Web\log.config %TARGET%\NzbDrone.Web\
|
xcopy NzbDrone.Web\log.config %TARGET%\NzbDrone.Web\
|
||||||
xcopy NzbDrone.Web\Global.asax %TARGET%\NzbDrone.Web\
|
xcopy NzbDrone.Web\Global.asax %TARGET%\NzbDrone.Web\
|
||||||
|
@ -17,7 +22,8 @@ xcopy NzbDrone.Web\favicon.ico %TARGET%\NzbDrone.Web\
|
||||||
xcopy NzbDrone.Web\web.config %TARGET%\NzbDrone.Web\
|
xcopy NzbDrone.Web\web.config %TARGET%\NzbDrone.Web\
|
||||||
|
|
||||||
|
|
||||||
CD "%TARGET%"
|
CD %PACKAGEROOT%
|
||||||
..\Libraries\7zip\7za.exe a -tzip NzbDrone.zip *
|
..\Libraries\7zip\7za.exe a -tzip ..\NzbDrone.zip *
|
||||||
..\Libraries\7zip\7za.exe t NzbDrone.zip
|
|
||||||
cD ..
|
CD ..
|
||||||
|
Pause
|
Loading…
Reference in a new issue