forked from christophla/AngularSkeleton.NET
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Build.bat
45 lines (32 loc) · 1.12 KB
/
Build.bat
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
39
40
41
42
43
44
45
@echo off
rem ----------------------------------------------------------
rem This file installs the storage configuration
rem ----------------------------------------------------------
set msbuild=C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
if NOT "%1"=="" set root=%1
if NOT "%2"=="" set incoming=%2
if NOT "%3"=="" set outgoing=%3
if NOT "%4"=="" set archived=%4
if NOT "%5"=="" set expired=%5
if NOT "%6"=="" set errorLog=%6
rem ---------------------------------------------------------
call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86
CALL %msbuild% Build.proj /target:Compile;BuildWebOutput;Package /property:DatabaseServer=localhost
echo.
GOTO DONE
rem ---------------------------------------------------------
:ERROR
pause
echo.
echo =========================================================
echo Error was encountered
echo =========================================================
echo.
EXIT /B 1
:DONE
echo.
echo =========================================================
echo Completed successfully :-)
echo =========================================================
echo.
PAUSE