Skip to content

Add CMake and ESP-IDF entries to .gitignore#43

Merged
ltowarek merged 1 commit into
mainfrom
chore/gitignore-cmake-esp-idf
May 10, 2026
Merged

Add CMake and ESP-IDF entries to .gitignore#43
ltowarek merged 1 commit into
mainfrom
chore/gitignore-cmake-esp-idf

Conversation

@ltowarek
Copy link
Copy Markdown
Owner

Summary

The root .gitignore only covered generic C/C++ compiler artifacts. This adds two missing sections that mirror what the dust-mite car/.gitignore uses for its own ESP-IDF projects:

CMake build system artifacts:
CMakeLists.txt.user, CMakeCache.txt, CMakeFiles/, CMakeScripts/, Testing/, Makefile, cmake_install.cmake, install_manifest.txt, compile_commands.json, CTestTestfile.cmake, _deps/, CMakeUserPresets.json

ESP-IDF project artifacts:
build/, sdkconfig, sdkconfig.old, dependencies.lock, managed_components/

Motivation

Without these entries, files like sdkconfig, CMakeCache.txt, and build/ outputs in the repository tree (e.g. the test/ applications added in #42) can be accidentally staged and committed.

Mirrors the gitignore patterns used in the dust-mite car/ component tree:
CMake build system artifacts (CMakeCache.txt, CMakeFiles/, compile_commands.json,
etc.) and ESP-IDF project artifacts (build/, sdkconfig, dependencies.lock,
managed_components/).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ltowarek ltowarek force-pushed the chore/gitignore-cmake-esp-idf branch from 224fc8a to eb4cb0c Compare May 10, 2026 21:41
@ltowarek ltowarek enabled auto-merge (squash) May 10, 2026 21:42
@ltowarek ltowarek merged commit 2fdaefd into main May 10, 2026
5 checks passed
@ltowarek ltowarek deleted the chore/gitignore-cmake-esp-idf branch May 10, 2026 21:58
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.

1 participant