-
Notifications
You must be signed in to change notification settings - Fork 10
/
Package.cmd
37 lines (27 loc) · 690 Bytes
/
Package.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
@ECHO OFF
pushd %~dp0
%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\msbuild FluentAssertionsMvc.msbuild /m /nr:false /v:M /fl /flp:LogFile=bin\msbuild.log;Verbosity=Normal
if errorlevel 1 goto BuildFail
echo.
echo *** BUILD SUCCESSFUL ***
echo.
.nuget\nuget pack src\FluentAssertions.Mvc3\FluentAssertions.Mvc3.csproj
.nuget\nuget pack src\FluentAssertions.Mvc4\FluentAssertions.Mvc4.csproj
.nuget\nuget pack src\FluentAssertions.Mvc5\FluentAssertions.Mvc5.csproj
if errorlevel 1 goto PackageFail
echo.
echo *** PACKAGE SUCCESSFUL ***
echo.
goto End
:BuildFail
echo.
echo *** BUILD FAILED ***
goto End
:BuildFail
echo.
echo *** PACKAGE FAILED ***
goto End
:End
popd
echo.
pause