mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
11 lines
No EOL
336 B
Batchfile
11 lines
No EOL
336 B
Batchfile
@echo off
|
|
|
|
cd src
|
|
|
|
dotnet publish -c Release -r win-x64 -o ..\publish\SourceGit\ -p:PublishSingleFile=true --self-contained=true
|
|
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 |