-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sh
executable file
·18 lines (15 loc) · 1.15 KB
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
DIR=`dirname $0`
dotnet restore $DIR/../SFLabNetApp/src/SFLabNetApp/SFLabNetActor.Interfaces/SFLabNetActor.Interfaces.csproj -s https://api.nuget.org/v3/index.json
dotnet build $DIR/../SFLabNetApp/src/SFLabNetApp/SFLabNetActor.Interfaces/SFLabNetActor.Interfaces.csproj -v normal
CURDIR=`pwd`
dotnet restore $DIR/../SFLabNetApp/src/SFLabNetApp/SFLabNetActorService/SFLabNetActorService.csproj -s https://api.nuget.org/v3/index.json
dotnet build $DIR/../SFLabNetApp/src/SFLabNetApp/SFLabNetActorService/SFLabNetActorService.csproj -v normal
cd `dirname $DIR/../SFLabNetApp/src/SFLabNetApp/SFLabNetActorService/SFLabNetActorService.csproj`
dotnet publish -o $CURDIR/../SFLabNetApp/SFLabNetApp/SFLabNetActorPkg/Code
cd -
dotnet restore $DIR/../SFLabNetApp/src/SFLabNetApp/SFLabNetActorTestClient/SFLabNetActorTestClient.csproj -s https://api.nuget.org/v3/index.json
dotnet build $DIR/../SFLabNetApp/src/SFLabNetApp/SFLabNetActorTestClient/SFLabNetActorTestClient.csproj -v normal
cd `dirname $DIR/../SFLabNetApp/src/SFLabNetApp/SFLabNetActorTestClient/SFLabNetActorTestClient.csproj`
dotnet publish -o $CURDIR/../SFLabNetApp/SFLabNetActorServiceTestClient
cd -