mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-31 17:14:58 +00:00
update<Build>: add self-contained package
This commit is contained in:
parent
f4ab97c088
commit
285524256b
2 changed files with 8 additions and 5 deletions
|
@ -1,5 +1,9 @@
|
|||
cd src
|
||||
rmdir /s /q bin
|
||||
rmdir /s /q obj
|
||||
dotnet publish --nologo -c Release -r win-x64 -p:PublishSingleFile=true --no-self-contained -o publish
|
||||
dotnet publish --nologo -c Release -r win-x64 -p:PublishSingleFile=true --no-self-contained -o ../publish
|
||||
|
||||
rmdir /s /q bin
|
||||
rmdir /s /q obj
|
||||
dotnet publish --nologo -c Release -r win-x64 -p:PublishSingleFile=true -p:PublishReadyToRun=true -p:IncludeNativeLibrariesForSelfExtract=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained -o ../publish/SourceGit
|
||||
cd ..
|
Loading…
Add table
Add a link
Reference in a new issue