Skip to content

Commit 144004e

Browse files
authored
Update build.sh with correct target frameworks
1 parent 570edbd commit 144004e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

build.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@ dotnet --info
55
dotnet restore
66

77
for path in src/**/*.csproj; do
8-
dotnet build -f netstandard1.3 -c Release ${path}
9-
dotnet build -f netcoreapp1.1 -c Release ${path}
8+
dotnet build -f netstandard1.0 -c Release ${path}
109
done
1110

1211
for path in test/*.Tests/*.csproj; do
13-
dotnet test -f netcoreapp1.1 -c Release ${path}
12+
dotnet test -f netcoreapp2.0 -c Release ${path}
1413
done
1514

16-
for path in sample/ConsoleDemo/*.csproj; do
17-
dotnet build -f netcoreapp1.1 -c Release ${path}
18-
dotnet run -f netcoreapp1.1 --project ${path}
15+
for path in sample/**/*.csproj; do
16+
dotnet build -f netcoreapp2.0 -c Release ${path}
1917
done

0 commit comments

Comments
 (0)