mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-24 13:19:28 +00:00
24 lines
1.3 KiB
Markdown
24 lines
1.3 KiB
Markdown
# Contributing
|
|
|
|
Please note we have a code of conduct, please follow it in all your interactions with the project. If you have any further questions please create an issue or ask in the Discord server.
|
|
|
|
- Only fix/add the functionality in question OR address wide-spread whitespace/style issues, not both.
|
|
- Address a single concern in the least number of changed lines as possible.
|
|
|
|
**Do not make a pull request to merge into stable unless it is a hotfix. Use the development branch instead.**
|
|
|
|
## Pull Request Process
|
|
|
|
1. Ensure any install or build dependencies are removed before the end of the layer when doing a build.
|
|
2. Update the README.md and wiki with details of changes to the interface, this includes new environment variables, exposed ports, useful file locations and container parameters.
|
|
3. Write with detail on your pull request description what you have committed, to make it easier for the collaborators to make a changelog.
|
|
|
|
## Code Content
|
|
|
|
Your code should follow the standards set below:
|
|
|
|
- Your code can be run purely using a Java 17 JVM.
|
|
- Dependencies that use a separate language (ex. Kotlin) that can run on a JVM are acceptable.
|
|
- Dependencies that require the use of native code (ex. JNI) are prohibited.
|
|
- Directly adding foreign code (other languages, ex. Kotlin) into the main codebase is prohibited.
|