From 5e8133d160a88a78347ce4333a09ed0fb1872146 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Sun, 30 Oct 2011 22:45:06 -0700 Subject: [PATCH] Update the package.bat to remove some extra files. --- .gitignore | 4 +++- package.bat | 13 +++++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 62edc661d..f67b7748f 100644 --- a/.gitignore +++ b/.gitignore @@ -37,4 +37,6 @@ _ReSharper*/ NzbDrone.Web/NzbDrone.Web.Publish.xml *.sdf [Bb]anners -*.orig \ No newline at end of file +*.orig +_rawPackage/ +NzbDrone.zip \ No newline at end of file diff --git a/package.bat b/package.bat index ddfab2492..bf4355f5f 100644 --- a/package.bat +++ b/package.bat @@ -7,8 +7,7 @@ del nzbdrone*.zip /Q /F xcopy IISExpress %TARGET%\IISExpress /E /V /I /Y xcopy NzbDrone\bin\Release\*.* %TARGET%\ /E /V /I /Y -del %TARGET%\nlog.xml /Q /F -del %TARGET%\*.vshost.exe.* /Q /F + 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 @@ -17,8 +16,7 @@ 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 -del %TARGET%\NzbDrone.Web\bin\Mvc*.pdb /q + xcopy NzbDrone.Web\log.config %TARGET%\NzbDrone.Web\ xcopy NzbDrone.Web\Global.asax %TARGET%\NzbDrone.Web\ @@ -27,6 +25,13 @@ xcopy NzbDrone.Web\web.config %TARGET%\NzbDrone.Web\ CD %PACKAGEROOT% + +del nlog.xml /Q /F /S +del *.vshost.exe.* /Q /F /S +del ninject*.pdb /Q /F /S +del ninject*.xml /Q /F /S +del Mvc*.pdb /Q /F /S + ..\Libraries\7zip\7za.exe a -tzip ..\NzbDrone.zip * CD ..