mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-30 16:44:59 +00:00
update<Build>: using Power-Shell instead of cmd to run build script
This commit is contained in:
parent
61fe751f13
commit
81d82630ba
4 changed files with 15 additions and 12 deletions
7
build.ps1
Normal file
7
build.ps1
Normal file
|
@ -0,0 +1,7 @@
|
|||
cd src
|
||||
|
||||
dotnet publish -c Release -r win-x64 -o ..\publish\ -p:PublishSingleFile=true -p:PublishTrimmed=true -p:IncludeNativeLibrariesForSelfExtract=true --self-contained=true
|
||||
Compress-Archive -Path ..\publish\SourceGit.exe -DestinationPath ..\publish\SourceGit.zip
|
||||
del /f /s /q ..\publish\SourceGit.exe
|
||||
|
||||
dotnet publish -c Release -r win-x64 -o ..\publish\ -p:PublishSingleFile=true --self-contained=false
|
Loading…
Add table
Add a link
Reference in a new issue