mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
1.6 KiB
1.6 KiB
Contributing to jecs
This document provides guidelines for contributing to the project.
Getting Started
- Fork the repository
- Clone your fork
- Set up the development environment
- Create a branch for your changes
Development Setup
# Clone your fork
git clone https://github.com/your-username/jecs.git
cd jecs
# Install dependencies
wally install
Making Changes
-
Create a branch:
git checkout -b feature/your-feature-name
-
Make your changes
-
Add tests if applicable
-
Run tests:
lune run test
-
Commit your changes:
git commit -m "Add feature: description"
Submitting Changes
-
Push your changes:
git push origin feature/your-feature-name
-
Create a Pull Request
-
Explain the changes and reference related issues
Code Style
- Follow the existing code style
- Use meaningful variable and function names
- Write clear comments for complex logic
- Keep functions focused on a single responsibility
Testing
- Add tests for new features
- Ensure all tests pass before submitting
- Consider edge cases
Documentation
- Update documentation for changed functionality
- Document new features or APIs
- Use clear and concise language
Issue Reporting
- Check if the issue already exists in the Issues section
- Create a new issue with a descriptive title and detailed information
Code of Conduct
- Be respectful in communications
- Provide constructive feedback
- Accept constructive criticism
- Focus on what is best for the community