mirror of
https://github.com/pret/pokeplatinum.git
synced 2026-04-24 23:18:36 -05:00
1.1 KiB
1.1 KiB
Contributing to pret/pokeplatinum
This document provides a synopsis and loose guidelines for how to contribute to this project. It is a work in progress. Maintainers should expand this document.
Contents
Editor Enhancements
This repository includes a script to generate a compile_commands.json that is compatible with C language servers such as clangd.
Requirements
python3.8or newergcc-arm-none-eabiclangd
Usage
./gen_compile_commands.py
This will create a file named compile_commands.json in the project root, overwriting the previous copy.
Code Formatting
This repository includes an opinionated clang-format specification which is integrated into the build system for convenience in ensuring that your code adheres to repository style guidelines.
Requirements
clang-format
Usage
./build.sh format
This will traverse the source tree and format all found C sources and headers according to the specified style rules.