-
-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathGetAndBuildThis.bat
More file actions
32 lines (27 loc) · 744 Bytes
/
GetAndBuildThis.bat
File metadata and controls
32 lines (27 loc) · 744 Bytes
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
setlocal
IF "%1"=="" (
set BUILD_CONFIG="Debug"
) ELSE (
set BUILD_CONFIG=%1
)
REM Presence of a second argument indicates that the caller has already run vsvars32.bat
IF "%2"=="" (
if not "%VS120COMNTOOLS%" == "" (
echo Setting up Visual Studio Pro 2013 Tools...
@call "%VS120COMNTOOLS%vsvars32.bat"
goto build
)
if not "%VS100COMNTOOLS%" == "" (
echo Setting up Visual Studio Pro 2010 Tools...
@call "%VS100COMNTOOLS%vsvars32.bat"
goto build
)
if not "%VS110COMNTOOLS%" == "" (
echo Setting up Visual Studio Express 2010 Tools...
@call "%VS110COMNTOOLS%vsvars32.bat"
goto build
)
)
:build
git pull --rebase
msbuild "build/Palaso.proj" /target:build /verbosity:quiet /maxcpucount /p:Configuration=%BUILD_CONFIG%