Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.81 KB

CONTRIBUTING.md

File metadata and controls

43 lines (34 loc) · 1.81 KB

Contributing

Project Structure

  • Clang: Code formatting
    • .clang-format
    • .clang-tidy
    • clang-format.sh
  • Custom Modules in C++
    • config.py: Configs for this module
    • doc: For showing documentation in editor
    • doc_classes: For showing documentation in editor
    • icons: For showing icons in editor
    • SCsub: Will be called from Godots SConstruct during build
    • editor: Custom .cpp only bundled for target=editor
    • misc: Scripts and other files, which aren't related to c++
    • tests: Some testcases to run in CICD
    • thirdparty: Dependencies or libraries which shouldn't be analysed by static checks
  • GodotJS custom data
    • .github: Runs custom CI/CD in GitHub
    • docs: Add some additional stuff for README.md
    • src: Contains custom C++ code

Preparing your PR

The project is using clang-format to format C++ files. You need to run bash clang_format.sh before your PR for a successful pipeline.

Furthermore, there is an utf-8 and LF checker to fix file formats. Additionally, some spellchecks run inside the pipeline.

Release library

As a maintainer you are able to create a new release.

  1. Go to create new release
  2. Next you should Choose a tag and create a new one in the format v0.0.0
  3. Select target master
  4. Click Generate release notes
  5. (Optional) You can edit the generated release notes
  6. Add a release title in the format v0.0.0
  7. Press Publish release