Bläddra i källkod

Add MQTTnet.Server build for ARM.

release/3.x.x
Christian Kratky 5 år sedan
förälder
incheckning
a79c2484b3
1 ändrade filer med 11 tillägg och 0 borttagningar
  1. +11
    -0
      Build/build.ps1

+ 11
- 0
Build/build.ps1 Visa fil

@@ -67,6 +67,17 @@ If(Test-path $destination) {Remove-item $destination}

####################################################################

# Build MQTTnet.Server Linux-ARM
&dotnet publish ..\Source\MQTTnet.Server\MQTTnet.Server.csproj --configuration Release /p:FileVersion=$assemblyVersion /p:Version=$nugetVersion --self-contained --runtime linux-arm

$source = "..\Source\MQTTnet.Server\bin\Release\netcoreapp2.2\linux-ARM\publish"
$destination = "..\Source\MQTTnet.Server\bin\MQTTnet.Server-Linux-ARM-v$nugetVersion.zip"
If(Test-path $destination) {Remove-item $destination}
Add-Type -assembly "system.io.compression.filesystem"
[io.compression.zipfile]::CreateFromDirectory($source, $destination)

####################################################################

# Build MQTTnet.Server Windows-x64
&dotnet publish ..\Source\MQTTnet.Server\MQTTnet.Server.csproj --configuration Release /p:FileVersion=$assemblyVersion /p:Version=$nugetVersion --self-contained --runtime win-x64



Laddar…
Avbryt
Spara