-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.bat
19 lines (15 loc) · 1.2 KB
/
build.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
IF EXIST Elastico\coreclr rmdir /q /s Elastico\coreclr
IF EXIST Elastico\clr rmdir /q /s Elastico\clr
dotnet restore
dotnet build -c Release
dotnet publish src\Elasticsearch.Powershell.V2\Elasticsearch.Powershell.V2.csproj -c Release -o Elastico\coreclr\V2 -f netstandard2.0
dotnet publish src\Elasticsearch.Powershell.V5\Elasticsearch.Powershell.V5.csproj -c Release -o Elastico\coreclr\V5 -f netstandard2.0
dotnet publish src\Elasticsearch.Powershell.V6\Elasticsearch.Powershell.V6.csproj -c Release -o Elastico\coreclr\V6 -f netstandard2.0
dotnet publish src\Elasticsearch.Powershell.V7\Elasticsearch.Powershell.V7.csproj -c Release -o Elastico\coreclr\V7 -f netstandard2.0
dotnet publish src\Elasticsearch.Powershell.V2\Elasticsearch.Powershell.V2.csproj -c Release -o Elastico\clr\V2 -f net461
dotnet publish src\Elasticsearch.Powershell.V5\Elasticsearch.Powershell.V5.csproj -c Release -o Elastico\clr\V5 -f net461
dotnet publish src\Elasticsearch.Powershell.V6\Elasticsearch.Powershell.V6.csproj -c Release -o Elastico\clr\V6 -f net461
dotnet publish src\Elasticsearch.Powershell.V7\Elasticsearch.Powershell.V7.csproj -c Release -o Elastico\clr\V7 -f net461
cd Elastico
del /S System.Management.Automation.dll
cd ..