mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
12 lines
No EOL
579 B
Batchfile
12 lines
No EOL
579 B
Batchfile
@echo off
|
|
|
|
rmdir /s /q publish
|
|
|
|
cd src
|
|
dotnet publish SourceGit.csproj --nologo -c Release -r win-x64 -f net6.0-windows -p:PublishSingleFile=true --no-self-contained -o ..\publish
|
|
dotnet publish SourceGit.csproj --nologo -c Release -r win-x64 -f net6.0-windows -p:PublishSingleFile=true -p:EnableCompressionInSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:PublishReadyToRun=true --self-contained -o ..\publish\tmp
|
|
move ..\publish\tmp\SourceGit.exe ..\publish\SourceGit.bundle.exe
|
|
rmdir /s /q ..\publish\tmp
|
|
del /f /s /q ..\publish\SourceGit.pdb
|
|
|
|
cd .. |