mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-10-31 13:03:20 -07:00
readme: add description for build
This commit is contained in:
parent
bcc43e167c
commit
a7f609d479
1 changed files with 15 additions and 0 deletions
15
build/README.md
Normal file
15
build/README.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
# build
|
||||
|
||||
> [!WARNING]
|
||||
> The files under the `build` folder is used for `Github Action` only, **NOT** for end users.
|
||||
|
||||
## How to build this project manually
|
||||
|
||||
1. Make sure [.NET SDK 8](https://dotnet.microsoft.com/en-us/download) is installed on your machine.
|
||||
2. Clone this project
|
||||
3. Run the follow command under the project root dir
|
||||
```sh
|
||||
dotnet publish -c Release -r $RUNTIME_IDENTIFIER -o $DESTINATION_FOLDER src/SourceGit.csproj
|
||||
```
|
||||
> [!NOTE]
|
||||
> Please replace the `$RUNTIME_IDENTIFIER` with one of `win-x64`,`win-arm64`,`linux-x64`,`linux-arm64`,`osx-x64`,`osx-arm64`, and replece the `$DESTINATION_FOLDER` with the real path that will store the output executable files.
|
Loading…
Reference in a new issue