Skip to content

Initial cpp-tools version#1

Merged
alan-george-lk merged 24 commits into
mainfrom
alan/bootstrap-cpp-tools
Jul 17, 2026
Merged

Initial cpp-tools version#1
alan-george-lk merged 24 commits into
mainfrom
alan/bootstrap-cpp-tools

Conversation

@alan-george-lk

@alan-george-lk alan-george-lk commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

This PR does the following:

  • Initial cpp-tools version
  • Standardized spot for clang configuration, helper/CI scripts, AGENTS.md C++ guidance, and pre-commit hook
  • Moves clang-tidy check documentation out of Notion into this repository
  • Tested against multiple repositories to ensure correctness

alan-george-lk and others added 21 commits June 10, 2026 18:28
Centralize LiveKit clang-format and clang-tidy configuration so C++ repos can consume the same checks through a submodule.

Co-authored-by: Cursor <cursoragent@cursor.com>
Move C++ check orchestration into cpp-tools so consumers can configure clang-format, clang-tidy, and Doxygen from a shared workflow.

Co-authored-by: Cursor <cursoragent@cursor.com>
Install shared configs before checks and align workflow safeguards with consumer CI expectations.

Co-authored-by: Cursor <cursoragent@cursor.com>
Rely on extension filtering after Git file discovery so directory-based checks do not exclude every tracked file.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keep shared scripts repository-agnostic while allowing each project to use the same project-aware entrypoints locally and in CI.

Co-authored-by: Cursor <cursoragent@cursor.com>
@alan-george-lk
alan-george-lk marked this pull request as ready for review July 17, 2026 16:23

@stephen-derosa stephen-derosa left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me, glanced over the larger clang-format.sh and clang-tidy.sh on the assumption they were copy/pasted from the cpp repo.

Comment thread docs/clang-tidy.md

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is clang-tidy.md appropriate if its also clang format?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discussed elsewhere, but for clarity the formatting features in this file are actually clang-tidy specific and aren't a part of clang-format

Comment thread .markdownlint-cli2.jsonc

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fmu what is this doing?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since JSON doesn't have comments a bit unfortunate I can't add context, but for Markdownlint rule MD013 defines an 80 character width limit which is just annoying so this disables it: https://github.com/DavidAnson/markdownlint/blob/main/doc/md013.md

@alan-george-lk
alan-george-lk merged commit a3659e4 into main Jul 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants