sourcegit/build.bat

11 lines
336 B
Batchfile
Raw Normal View History

@echo off
cd src
dotnet publish -c Release -r win-x64 -o ..\publish\SourceGit\ -p:PublishSingleFile=true --self-contained=true
2020-11-30 18:49:19 -08:00
dotnet publish -c Release -r win-x64 -o ..\publish\ -p:PublishSingleFile=true --self-contained=false
tar -C ..\publish -czvf ..\publish\SourceGit.tar.gz SourceGit\*.*
rmdir /S /Q ..\publish\SourceGit
pause