forked from dadhi/FastExpressionCompiler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_with_packaging.bat
More file actions
42 lines (34 loc) · 886 Bytes
/
build_with_packaging.bat
File metadata and controls
42 lines (34 loc) · 886 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
33
34
35
36
37
38
39
40
41
42
@echo off
echo:
echo:## Starting: RESTORE and BUILD...
echo:
dotnet clean -v:m
dotnet build -c:Release -v:m
if %ERRORLEVEL% neq 0 goto :error
echo:
echo:## Finished: RESTORE and BUILD
echo:
echo:## Starting: TESTS...
echo:
dotnet run --no-build -c Release --project test/FastExpressionCompiler.TestsRunner/FastExpressionCompiler.TestsRunner.csproj
if %ERRORLEVEL% neq 0 goto :error
dotnet run --no-build -c Release --project test/FastExpressionCompiler.TestsRunner.Net472/FastExpressionCompiler.TestsRunner.Net472.csproj
if %ERRORLEVEL% neq 0 goto :error
echo:
echo:## Finished: TESTS
echo:
echo:## Starting: SOURCE PACKAGING...
echo:
call BuildScripts\NugetPack.bat
if %ERRORLEVEL% neq 0 goto :error
echo:
echo:## Finished: SOURCE PACKAGING
echo:
echo:## Finished: ALL ##
echo:
exit /b 0
:error
echo:
echo:## :-( Failed with ERROR: %ERRORLEVEL%
echo:
exit /b %ERRORLEVEL%