We encourage developers to contribute to this project, but please follow the rules below:
- Please ask in the issue before planning to modify whether it is feasible and can be merged into the main branch
- Please make sure that all unit tests are passed before fixing bugs, and add the unit tests of bugs to the test directory
- All PRs should be sent to the dev branch, and the master branch will never directly accept PRs
- Please be sure to keep the Chinese and English versions consistent when modifying all documents and tutorials
- Please make sure to use English for comments in the code to avoid compiler encoding problems
- Make sure that the modified project has been completely built once, so that the merged version
zeroerr.hpp
file in the root directory is consistent with the source code - We welcome the extension of special environment use and the integration of third-party libraries. Please put these extensions in the extension directory
This hook script can help auto build and test the project before you submit a commit:
git config --local core.hooksPath .githooks/