readme, build script update

This commit is contained in:
Art 2023-01-13 22:06:47 +01:00
parent c225f60997
commit aa0fbdd5df
Signed by: prod2
GPG Key ID: F3BB5A97A70A8DDE
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@
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
5. `./release.sh` for release run, the binary will be found in bin/Release/net<version>/<platform>/publish/fskalc, and also will be copied to the active directory
# Reference

View File

@ -1 +1,2 @@
dotnet publish -c Release -r linux-x64 --self-contained -p:PublishSingleFile=true -p:PublishTrimmed=true -p:PublishReadyToRun=true
dotnet publish -c Release -r linux-x64 --self-contained -p:PublishSingleFile=true -p:PublishTrimmed=true -p:PublishReadyToRun=true
cp bin/Release/net7.0/linux-x64/publish/fskalc .