static compiled release binary

This commit is contained in:
Art 2023-01-13 21:45:24 +01:00
parent 09d6f275e5
commit a85c0c046c
Signed by: prod2
GPG Key ID: F3BB5A97A70A8DDE
4 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
# Building
1. Have dontnet-sdk installed
2. Go to the directory where fskalc is located
3. Run `dotnet restore` to restore the `obj/` directory
4. Run `dotnet run` for debug run
5. `./release.sh` for release run, the binary will be found in bin/Release/net6.0/<platform>/publish/fskalc
# Reference
The following is an informal overview of FSKalc's capabilties.

BIN
fskalc Executable file

Binary file not shown.

View File

@ -3,7 +3,6 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<OtherFlags>--standalone</OtherFlags>
</PropertyGroup>
<ItemGroup>

1
release.sh Executable file
View File

@ -0,0 +1 @@
dotnet publish -c Release -r linux-x64 --self-contained -p:PublishSingleFile=true -p:PublishTrimmed=true -p:PublishReadyToRun=true