sourcegit/build
aikawayataro 146f383aae
enhance: depend on SO in rpm package (#688)
* enhance: ensure LF line endings used with package manifests
* enhance: depend on shared object instead of package

Back in 211c263, I changed the dependencies to depend on package instead of shared object. This worked well, but introduced some problems for distros other than Fedora (81f76f0). I did this because of problems with the arm64 package, but now I think `__isa_bits` is a reasonable workaround.

* refactor: remove pointless variable checks

`set -u` was introduced in 6461765
2024-11-12 19:50:16 +08:00
..
resources enhance: depend on SO in rpm package (#688) 2024-11-12 19:50:16 +08:00
scripts enhance: depend on SO in rpm package (#688) 2024-11-12 19:50:16 +08:00
README.md readme: add description for build 2024-09-27 13:52:39 +08:00

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 is installed on your machine.
  2. Clone this project
  3. 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_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.