sourcegit/build.bat

16 lines
427 B
Batchfile
Raw Permalink Normal View History

2021-04-29 05:05:55 -07:00
rmdir /s /q publish
2021-03-01 18:57:19 -08:00
cd src
rmdir /s /q bin
rmdir /s /q obj
2021-04-29 05:05:55 -07:00
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
2021-04-29 05:05:55 -07:00
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 ../