mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-25 21:07:20 -08:00
16 lines
No EOL
427 B
Batchfile
16 lines
No EOL
427 B
Batchfile
rmdir /s /q publish
|
|
|
|
cd src
|
|
rmdir /s /q bin
|
|
rmdir /s /q obj
|
|
dotnet publish SourceGit.csproj --nologo -c Release -r win-x64 -p:PublishSingleFile=true --no-self-contained -o ../publish
|
|
|
|
rmdir /s /q bin
|
|
rmdir /s /q obj
|
|
dotnet publish SourceGit_48.csproj --nologo -c Release -r win-x64 -o ../publish/net48
|
|
|
|
cd ../publish
|
|
ilrepack /ndebug /out:SourceGit_48.exe net48/SourceGit.exe net48/Newtonsoft.Json.dll
|
|
rmdir /s /q net48
|
|
|
|
cd ../ |