forked from fossabot/ManagedIrbis5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sh
executable file
·17 lines (13 loc) · 1.23 KB
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
rm -rf NuGet
rm -rf Publish
dotnet clean --configuration Release Source/Utils/Utils.sln
dotnet clean --configuration Release Source/ManagedIrbis5.sln
dotnet build --configuration Release Source/Utils/Utils.sln || exit
dotnet build --configuration Release Source/ManagedIrbis5.sln || exit
dotnet test --no-restore --no-build --configuration Release /p:CollectCoverage=true Source/ManagedIrbis5.sln || exit
dotnet run --no-restore --no-build --configuration Release --project Source/Tests/PftTests/PftTests.csproj || exit
dotnet run --no-restore --no-build --configuration Release --project Source/Tests/BarsikTestRunner/BarsikTestRunner.csproj || exit
dotnet pack --no-restore --no-build --configuration Release --output NuGet Source/ManagedIrbis5-publish.sln
dotnet publish --no-restore --no-build --configuration Release --output Publish Source/ManagedIrbis5-publish.sln
echo ALL DONE