Thank you for your interest in contributing to JerryScript.esp! We welcome contributions of all kinds, including bug fixes, new features, documentation improvements, and more. This document outlines the guidelines we ask contributors to follow.
-
Fork the repository: Start by forking the JerryScript.esp repository on GitHub. This creates your own copy of the project that you can modify.
-
Clone your fork: Clone your forked repository to your local machine:
git clone https://github.com/marcel-cd/jerryscript.esp.git
- Create a branch: Create a new branch for your contribution. Use a descriptive name that reflects the purpose of your changes:
git checkout -b feature/new-feature
or
git checkout -b bugfix/fix-issue-123 # Replace 123 with the issue number
-
Follow coding style: While a formal style guide isn't yet fully defined, we aim for clean, consistent, and readable C++ code. Pay attention to indentation, naming conventions, and comments. We encourage the use of a code formatter like
clang-format
. -
Build and test: Ensure your changes compile and pass any existing tests.
-
Document your changes: Update the documentation (including README, code comments, and any other relevant files) to reflect your changes. Clear and concise documentation is crucial for maintainability.
- Commit your changes: Commit your changes with a clear and concise message. Use the present tense and keep the first line short (under 50 characters). Add more detail in the commit body if necessary.
git commit -m "Add new feature: Support for XYZ"
- Push your branch: Push your branch to your forked repository:
git push origin feature/new-feature
- Create a pull request: Go to the JerryScript.esp repository on GitHub and create a pull request from your branch to the
main
branch. Provide a clear description of your changes and reference any relevant issues.
By contributing to JerryScript.esp, you agree that your contributions will be licensed under the LICENSE
If you have any questions or need help, please don't hesitate to open an issue or reach out to us.
Thank you for your contributions!