mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-27 02:43:57 +02:00
updated package.bat file
still need to run grunt
This commit is contained in:
parent
9cabe7cf90
commit
0a10ab0880
2
.gitignore
vendored
2
.gitignore
vendored
@ -135,3 +135,5 @@ UpgradeLog*.htm
|
||||
NzbDrone.Backbone/templates.js
|
||||
NzbDrone.Backbone/Content/bootstrap.css
|
||||
_output/
|
||||
_rawPackage/
|
||||
NzbDrone.zip
|
||||
|
@ -11,7 +11,8 @@
|
||||
<RootNamespace>ServiceInstall</RootNamespace>
|
||||
<AssemblyName>ServiceInstall</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
|
||||
<RestorePackages>true</RestorePackages>
|
||||
@ -78,6 +79,7 @@
|
||||
<Compile Include="ServiceHelper.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
<None Include="app.manifest">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
|
3
ServiceHelpers/ServiceInstall/app.config
Normal file
3
ServiceHelpers/ServiceInstall/app.config
Normal file
@ -0,0 +1,3 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
|
@ -11,7 +11,8 @@
|
||||
<RootNamespace>ServiceUninstall</RootNamespace>
|
||||
<AssemblyName>ServiceUninstall</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
|
||||
<RestorePackages>true</RestorePackages>
|
||||
@ -78,6 +79,7 @@
|
||||
<Compile Include="ServiceHelper.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
<None Include="app.manifest">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
|
3
ServiceHelpers/ServiceUninstall/app.config
Normal file
3
ServiceHelpers/ServiceUninstall/app.config
Normal file
@ -0,0 +1,3 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
|
36
package.bat
36
package.bat
@ -1,40 +1,24 @@
|
||||
SET PACKAGEROOT=_rawPackage
|
||||
SET TARGET=%PACKAGEROOT%\NzbDrone
|
||||
SET COPY_FLAGS=/S /V /I /Y
|
||||
SET DELETE_FLAGS=/Q /F /S
|
||||
|
||||
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']
|
||||
|
||||
xcopy IISExpress %TARGET%\IISExpress /E /V /I /Y
|
||||
|
||||
|
||||
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 ServiceHelpers\ServiceInstall\bin\Release\*.exe %TARGET%\ %COPY_FLAGS%
|
||||
xcopy ServiceHelpers\ServiceUninstall\bin\Release\*.exe %TARGET%\ %COPY_FLAGS%
|
||||
|
||||
xcopy _output\*.* %TARGET%\ %COPY_FLAGS%
|
||||
xcopy NzbDrone.Update\bin\Release\*.* %TARGET%\NzbDrone.Update\ %COPY_FLAGS%
|
||||
|
||||
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
|
||||
|
||||
del *debug.js /Q /F /S
|
||||
del *-vsdoc.js /Q /F /S
|
||||
|
||||
del *.xml %DELETE_FLAGS%
|
||||
del *.vshost.exe.* %DELETE_FLAGS%
|
||||
|
||||
..\Libraries\7zip\7za.exe a -tzip ..\NzbDrone.zip *
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user