-
Notifications
You must be signed in to change notification settings - Fork 200
/
Copy pathbuild.bat
33 lines (27 loc) · 1.24 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
@ECHO OFF
echo.
echo ======================================================================
echo == Building SerialPortStream
echo ======================================================================
dotnet build -c Release
echo.
echo ======================================================================
echo == Testing SerialPortStream on .NET 4.0
echo ======================================================================
dotnet test -c Release -f net40 --logger "trx"
echo.
echo ======================================================================
echo == Testing SerialPortStream on .NET 4.5
echo ======================================================================
dotnet test -c Release -f net45 --logger "trx"
echo.
echo ======================================================================
echo == Testing SerialPortStream on .NET Core App 3.1
echo ======================================================================
dotnet test -c Release -f netcoreapp3.1 --logger "trx"
echo.
echo ======================================================================
echo == Generating SerialPortStream NuGet Package
echo ======================================================================
dotnet pack -c Release .\code\SerialPortStream.csproj
pause