Thank you for your interest in contributing to opensource COBOL 4J. A summary of how to contribute is below.
Although any topics related to opensource COBOL 4J can be posted in Issues, please submit ones written in English or Japanese.
We will check pull requests that passed all CI checks running both tests and static code analysis. The static analysis checks whether C and Java source files are formatted using clang-format and google-java-format respectively, and whether PMD finds no error and warning in Java source files.
The below sections describe how to setup and run static code analysis.
Run sudo apt install clang-format
in Ubuntu to install clang-format
.
Run ./format
in the top directory of opensource COBOL 4J.
If you want to make sure all files are formatted, run ./check-format
in the top directory of opensource COBOL 4J.
Run the following command in libcobj/ directory:
./gradlew pmdMain