Skip to content

Add compile_commands.json to the .gitignore file#455

Merged
Eirenliel merged 1 commit intomainfrom
add-compile-commands-to-gitignore
May 29, 2025
Merged

Add compile_commands.json to the .gitignore file#455
Eirenliel merged 1 commit intomainfrom
add-compile-commands-to-gitignore

Conversation

@gorbit99
Copy link
Contributor

The compile_commands.json file helps certain tools, for example clangd while locating symbols and the like, and platformio can helpfully generate one. Normally you wouldn't necessarily want to gitignore it, but since we have several different targets with several different toolchains and platforms, using it would often change it unnecessarily. Because of this I added it to the .gitignore file.

@gorbit99 gorbit99 requested a review from Eirenliel as a code owner May 29, 2025 14:47
@Eirenliel Eirenliel merged commit ec8c530 into main May 29, 2025
4 checks passed
@Eirenliel Eirenliel deleted the add-compile-commands-to-gitignore branch May 29, 2025 15:02
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