sourcegit/build/build.windows.bat

5 lines
287 B
Batchfile
Raw Normal View History

2024-03-20 00:36:10 -07:00
rmdir /S /Q SourceGit
dotnet publish ..\src\SourceGit\SourceGit.csproj -c Release -r win-x64 -o SourceGit -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained
resources\7z.exe a SourceGit.win-x64.zip SourceGit "-xr!en/" "-xr!zh/" "-xr!*.pdb"
rmdir /S /Q SourceGit