forked from gitextensions/gitextensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBuildInstallers.VS2013.cmd
38 lines (29 loc) · 1.36 KB
/
BuildInstallers.VS2013.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
@echo off
cd /d "%~p0"
set msbuild="%programfiles(x86)%\MSBuild\12.0\Bin\MSBuild.exe"
set project=..\GitExtensions.VS2013.sln
set projectShellEx=..\GitExtensionsShellEx\GitExtensionsShellEx.VS2013.sln
set projectSshAskPass=..\GitExtSshAskPass\GitExtSshAskPass.VS2013.sln
set nuget=..\.nuget\nuget.exe
set SkipShellExtRegistration=1
set EnableNuGetPackageRestore=true
set msbuildparams=/p:Configuration=Release /t:Rebuild /nologo /v:m
%nuget% install ..\GitUI\packages.config -OutputDirectory ..\packages -Source https://nuget.org/api/v2/
%nuget% install ..\Plugins\BackgroundFetch\packages.config -OutputDirectory ..\packages -Source https://nuget.org/api/v2/
%nuget% install ..\Plugins\BuildServerIntegration\TeamCityIntegration\packages.config -OutputDirectory ..\packages -Source https://nuget.org/api/v2/
%msbuild% %project% /p:Platform="Any CPU" %msbuildparams%
IF ERRORLEVEL 1 EXIT /B 1
%msbuild% %projectShellEx% /p:Platform=Win32 %msbuildparams%
IF ERRORLEVEL 1 EXIT /B 1
%msbuild% %projectShellEx% /p:Platform=x64 %msbuildparams%
IF ERRORLEVEL 1 EXIT /B 1
%msbuild% %projectSshAskPass% /p:Platform=Win32 %msbuildparams%
IF ERRORLEVEL 1 EXIT /B 1
call MakeInstallers.cmd
IF ERRORLEVEL 1 EXIT /B 1
%msbuild% %project% /p:Platform="Any CPU" /p:DefineConstants=__MonoCS__ %msbuildparams%
IF ERRORLEVEL 1 EXIT /B 1
call MakeMonoArchive.cmd
IF ERRORLEVEL 1 EXIT /B 1
echo.
pause