Contributing to Muonroi Building Block
Thank you for taking the time to contribute! This guide helps you set up the project locally and submit changes following the project's conventions.
Fork and Clone
- Fork the repository on GitHub and clone your fork:
git clone https://github.com/<your-username>/MuonroiBuildingBlock.git
cd MuonroiBuildingBlock - Install the .NET SDK 9.0 or later if you haven't already.
- Restore dependencies and build the solution:
dotnet restore
dotnet build
Run the Project Locally
You can explore the library using the samples in the Samples folder. For example:
dotnet run --project Samples/Samples.csproj
Feel free to adapt the command to any sample you are interested in.
Running Tests
Before submitting changes, ensure all tests pass:
dotnet test
This command runs the full test suite. No additional configuration is required.
Code Style
The repository uses an .editorconfig to define coding conventions. Please format your code before committing:
dotnet format Muonroi.BuildingBlock.sln
Pull Request Process
- Create a topic branch from
mainand make your changes there. - Run
dotnet formatanddotnet testbefore committing. - Push your branch and open a Pull Request.
- Ensure your PR description explains the motivation and links any related issues.
- All commits must pass CI and at least one code review before being merged.
Feature Ideas
Check the issue tracker for items labeled help wanted or good first issue. If you have an idea for a new feature or enhancement, please open an issue to discuss it before starting work.
Happy coding!