Skip to content

Commit

Permalink
Merge pull request #360 from nic547/publish
Browse files Browse the repository at this point in the history
Publish framework dependent Builds rather than self-contained one
  • Loading branch information
nic547 committed Jun 4, 2024
2 parents fc87a4f + 35452a3 commit e904277
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ Currently supported Command Stations:
- ESU Command Station (ECoS)
- DCC++ EX (via USB)

## Requirements
TauStellwerk requires the ASP.NET Core Runtime 8.0 to be installed.
See the [Microsoft .NET Download page](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) for downloads and installation instructions.

### MacOS/iOS

Expand Down
2 changes: 1 addition & 1 deletion publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import shutil
from glob import glob

customargs="-c Release --self-contained /p:DebugSymbols=false /p:DebugType=None /p:EnableCompressionInSingleFile=true /p:PublishTrimmed=true /p:TrimMode=partial /p:TreatWarningsAsErrors=false /nowarn:IL2026,IL2111,IL2104,IL2110,IL2091"
customargs="-c Release /p:DebugSymbols=false /p:DebugType=None"
rids = ["linux-x64","linux-musl-x64","linux-arm64","linux-musl-arm64","win-x64","win-arm64"]

BLUE='\033[1;34m'
Expand Down
2 changes: 1 addition & 1 deletion src/TauStellwerk.Server/TauStellwerk.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<PublishSingleFile>true</PublishSingleFile>
<RuntimeIdentifiers>win-x64;win-arm64;linux-x64;linux-arm64</RuntimeIdentifiers>
<SelfContained>false</SelfContained>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit e904277

Please sign in to comment.