sourcegit/build/build.windows.bat
2024-03-20 02:38:28 -05:00

5 lines
No EOL
287 B
Batchfile

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