mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-22 05:40:43 +08:00
(cherry picked from commit f312895ef8c77098612645a54420539fef70a849) (cherry picked from commit 662149045f9b37e8b8842125c82d835625055150)
build
Warning
The files under the
buildfolder is used forGithub Actiononly, NOT for end users.
How to build this project manually
- Make sure .NET SDK 9 is installed on your machine.
- Clone this project
- Run the follow command under the project root dir
dotnet publish -c Release -r $RUNTIME_IDENTIFIER -o $DESTINATION_FOLDER src/SourceGit.csproj
Note
Please replace the
$RUNTIME_IDENTIFIERwith one ofwin-x64,win-arm64,linux-x64,linux-arm64,osx-x64,osx-arm64, and replece the$DESTINATION_FOLDERwith the real path that will store the output executable files.