mirror of
https://github.com/BlackMATov/evolved.lua.git
synced 2025-12-15 04:15:28 +07:00
23 lines
869 B
Markdown
23 lines
869 B
Markdown
# Guidelines
|
|
|
|
## Checklists
|
|
|
|
### New Version Releasing
|
|
|
|
1. Ensure all tests pass on CI.
|
|
2. Update the version number in `evolved.lua`.
|
|
3. Update the **Changelog** section in `README.md`.
|
|
4. Create a new rockspec file in `rockspecs`.
|
|
5. Commit the changes with a message like `vX.Y.Z`.
|
|
6. Push and merge the changes to the `main` branch.
|
|
7. Create the release on GitHub.
|
|
8. Upload the new package to LuaRocks.
|
|
|
|
### Adding a New Top-Level Function
|
|
1. Insert the new function into the `evolved` table in `evolved.lua`.
|
|
2. Create tests for the function in `develop/testing/function_name_tests.lua`.
|
|
3. Add the new test to `develop/all.lua`.
|
|
4. Document the function in the **Cheat Sheet** and **API Reference** sections of `README.md`.
|
|
5. Provide a description in the **Overview** section of `README.md`.
|
|
6. Describe the update in the **Changelog** section of `README.md`.
|