2021-04-29 21:02:21 -07:00
|
|
|
@echo off
|
|
|
|
|
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-08-08 23:21:47 -07:00
|
|
|
dotnet publish SourceGit.csproj --nologo -c Release -r win-x86 -f net48 -o ..\publish\net48
|
2021-08-04 20:05:18 -07:00
|
|
|
ilrepack /ndebug /wildcards /out:..\publish\SourceGit.exe ..\publish\net48\SourceGit.exe ..\publish\net48\*.dll
|
2021-04-29 21:02:21 -07:00
|
|
|
cd ..\publish
|
2021-08-11 22:06:33 -07:00
|
|
|
ren SourceGit.exe SourceGit.net4.8.exe
|
2021-04-29 21:02:21 -07:00
|
|
|
rmdir /s /q net48
|
2021-04-05 18:48:35 -07:00
|
|
|
|
2021-04-29 21:02:21 -07:00
|
|
|
cd ..\src
|
2021-04-05 18:48:35 -07:00
|
|
|
rmdir /s /q bin
|
|
|
|
rmdir /s /q obj
|
2021-08-08 23:21:47 -07:00
|
|
|
dotnet publish SourceGit.csproj --nologo -c Release -r win-x86 -f net5.0-windows -p:PublishSingleFile=true --no-self-contained -o ..\publish
|
|
|
|
cd ..\publish
|
2021-09-12 20:53:38 -07:00
|
|
|
ren SourceGit.exe SourceGit.net5.0.x86.exe
|
|
|
|
|
|
|
|
cd ..\src
|
|
|
|
rmdir /s /q bin
|
|
|
|
rmdir /s /q obj
|
|
|
|
dotnet publish SourceGit.csproj --nologo -c Release -r win-x64 -f net5.0-windows -p:PublishSingleFile=true --no-self-contained -o ..\publish
|
|
|
|
cd ..\publish
|
|
|
|
ren SourceGit.exe SourceGit.net5.0.x64.exe
|
2021-04-29 05:05:55 -07:00
|
|
|
|
2021-10-28 00:47:47 -07:00
|
|
|
cd ..\src
|
|
|
|
rmdir /s /q bin
|
|
|
|
rmdir /s /q obj
|
|
|
|
dotnet publish SourceGit.csproj --nologo -c Release -r win-x86 -f net6.0-windows -p:PublishSingleFile=true --no-self-contained -o ..\publish
|
|
|
|
cd ..\publish
|
|
|
|
ren SourceGit.exe SourceGit.net6.0.x86.exe
|
|
|
|
|
|
|
|
cd ..\src
|
|
|
|
rmdir /s /q bin
|
|
|
|
rmdir /s /q obj
|
|
|
|
dotnet publish SourceGit.csproj --nologo -c Release -r win-x64 -f net6.0-windows -p:PublishSingleFile=true --no-self-contained -o ..\publish
|
|
|
|
cd ..\publish
|
|
|
|
ren SourceGit.exe SourceGit.net6.0.x64.exe
|
|
|
|
|
2021-04-29 05:05:55 -07:00
|
|
|
cd ../
|