Skip to content

Commit aa3d663

Browse files
author
Christophe Chevalier
committed
Quick fix of build/test scripts for .NET Core
- Can only build with netcoreapp2.2 on linux - add a test.bat/test.sh script - needs to be improved!
1 parent 309d950 commit aa3d663

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
#!/bin/bash
2-
dotnet build FoundationDB.Client.sln -c Debug --version-suffix dev
2+
dotnet build FoundationDB.Client/FoundationDB.Client.csproj -c Debug -f netstandard2.0 --version-suffix dev
3+
dotnet build FdbShell/FdbShell.csproj -c Debug -f netcoreapp2.2 --version-suffix dev
4+
dotnet build FdbTop/FdbTop.csproj -c Debug -f netcoreapp2.2 --version-suffix dev

test.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@echo off
2+
3+
dotnet test FoundationDB.Tests\FoundationDB.Tests.csproj -c Debug -- RunConfiguration.TargetPlatform=x64
4+
REM pause

test.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
dotnet test FoundationDB.Tests/FoundationDB.Tests.csproj -c Debug

0 commit comments

Comments
 (0)