Skip to content

Commit

Permalink
Update build.sh with correct target frameworks
Browse files Browse the repository at this point in the history
  • Loading branch information
nblumhardt authored Aug 28, 2017
1 parent 570edbd commit 144004e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@ dotnet --info
dotnet restore

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

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

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

0 comments on commit 144004e

Please sign in to comment.