static compiled release binary
This commit is contained in:
parent
09d6f275e5
commit
a85c0c046c
|
@ -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.
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<OtherFlags>--standalone</OtherFlags>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
dotnet publish -c Release -r linux-x64 --self-contained -p:PublishSingleFile=true -p:PublishTrimmed=true -p:PublishReadyToRun=true
|
Loading…
Reference in New Issue