updated package.bat file

still need to run grunt
This commit is contained in:
kay.one 2013-04-18 23:09:52 -07:00
parent 9cabe7cf90
commit 0a10ab0880
6 changed files with 24 additions and 28 deletions

2
.gitignore vendored
View File

@ -135,3 +135,5 @@ UpgradeLog*.htm
NzbDrone.Backbone/templates.js NzbDrone.Backbone/templates.js
NzbDrone.Backbone/Content/bootstrap.css NzbDrone.Backbone/Content/bootstrap.css
_output/ _output/
_rawPackage/
NzbDrone.zip

View File

@ -11,7 +11,8 @@
<RootNamespace>ServiceInstall</RootNamespace> <RootNamespace>ServiceInstall</RootNamespace>
<AssemblyName>ServiceInstall</AssemblyName> <AssemblyName>ServiceInstall</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile> <TargetFrameworkProfile>
</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir> <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
<RestorePackages>true</RestorePackages> <RestorePackages>true</RestorePackages>
@ -78,6 +79,7 @@
<Compile Include="ServiceHelper.cs" /> <Compile Include="ServiceHelper.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="app.config" />
<None Include="app.manifest"> <None Include="app.manifest">
<SubType>Designer</SubType> <SubType>Designer</SubType>
</None> </None>

View File

@ -0,0 +1,3 @@
<?xml version="1.0"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>

View File

@ -11,7 +11,8 @@
<RootNamespace>ServiceUninstall</RootNamespace> <RootNamespace>ServiceUninstall</RootNamespace>
<AssemblyName>ServiceUninstall</AssemblyName> <AssemblyName>ServiceUninstall</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile> <TargetFrameworkProfile>
</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir> <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
<RestorePackages>true</RestorePackages> <RestorePackages>true</RestorePackages>
@ -78,6 +79,7 @@
<Compile Include="ServiceHelper.cs" /> <Compile Include="ServiceHelper.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="app.config" />
<None Include="app.manifest"> <None Include="app.manifest">
<SubType>Designer</SubType> <SubType>Designer</SubType>
</None> </None>

View File

@ -0,0 +1,3 @@
<?xml version="1.0"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>

View File

@ -1,40 +1,24 @@
SET PACKAGEROOT=_rawPackage SET PACKAGEROOT=_rawPackage
SET TARGET=%PACKAGEROOT%\NzbDrone SET TARGET=%PACKAGEROOT%\NzbDrone
SET COPY_FLAGS=/S /V /I /Y
SET DELETE_FLAGS=/Q /F /S
rd %PACKAGEROOT% /S /Q rd %PACKAGEROOT% /S /Q
del nzbdrone*.zip /Q /F del nzbdrone*.zip %DELETE_FLAGS%
del _output\FluentValidation.resources.dll %DELETE_FLAGS%
echo ##teamcity[progressMessage 'Packaging release'] echo ##teamcity[progressMessage 'Packaging release']
xcopy IISExpress %TARGET%\IISExpress /E /V /I /Y xcopy ServiceHelpers\ServiceInstall\bin\Release\*.exe %TARGET%\ %COPY_FLAGS%
xcopy ServiceHelpers\ServiceUninstall\bin\Release\*.exe %TARGET%\ %COPY_FLAGS%
xcopy ServiceHelpers\ServiceInstall\bin\Release\*.exe %TARGET%\ /E /V /I /Y
xcopy ServiceHelpers\ServiceUninstall\bin\Release\*.exe %TARGET%\ /E /V /I /Y
xcopy NzbDrone\bin\Debug\*.* %TARGET%\ /E /V /I /Y
xcopy NzbDrone\bin\Release\*.* %TARGET%\ /E /V /I /Y
xcopy NzbDrone.Update\bin\Debug\*.* %TARGET%\NzbDrone.Update\ /E /V /I /Y
xcopy NzbDrone.Update\bin\Release\*.* %TARGET%\NzbDrone.Update\ /E /V /I /Y
xcopy _output\*.* %TARGET%\ %COPY_FLAGS%
xcopy NzbDrone.Update\bin\Release\*.* %TARGET%\NzbDrone.Update\ %COPY_FLAGS%
CD %PACKAGEROOT% CD %PACKAGEROOT%
del nlog.xml /Q /F /S del *.xml %DELETE_FLAGS%
del nlog.pdb /Q /F /S del *.vshost.exe.* %DELETE_FLAGS%
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
del *debug.js /Q /F /S
del *-vsdoc.js /Q /F /S
..\Libraries\7zip\7za.exe a -tzip ..\NzbDrone.zip * ..\Libraries\7zip\7za.exe a -tzip ..\NzbDrone.zip *