# Only the build tree and its logs -- /build** also matched BUILDING.md,
# which is why the build instructions were never in the repository.
/build/
/build.log
src/build/*
src/build/**
compile_commands.json
src/.cache/clangd
/obj-**

# IDE Configurations
.vscode
.zed
.idea

# Debian packaging
debian/release.conf
debian/rpi-imager/**
debian/rpi-imager-amd64/**
debian/rpi-imager-embedded/**
debian/rpi-imager-cli/**
debian/.debhelper**
debian/*.debhelper**
debian/files
debian/*.substvars
debian/debhelper**
debian/tmp
debian/com.raspberrypi.rpi-imager.metainfo.xml

# macOS
.DS_Store
*.DS_Store
# editor backups
*.*swp*

# AppImage related
# Patterns for build products at the repository root are anchored with a leading
# slash: unanchored patterns match by basename at every depth, which silently
# swallowed debian/appimage-pack.sh, qt/build-qt*.sh and src/timezones.txt.
*.AppImage*
*.appimagecraft*
/AppDir-*
/appimage-tools/

# Embedded .deb build tree (created by create-embedded.sh)
/debroot-embedded-*
/rpi-imager-embedded*.deb

# Qt related
# build-qt*.sh creates these as $PWD/qt-src and $PWD/qt-build[-suffix], so they
# land wherever the script was run from -- usually qt/, per the READMEs. Hence
# no leading slash. The trailing slash restricts each to directories, which is
# what keeps qt-build* from swallowing the tracked qt/qt-build-common.sh.
qt-src/
qt-build/
qt-build-*/
qt/language_filters.json
/build-**

# build-cli-only related
/test-cli-**

# clangd related
.cache/clangd

# Python tooling
.venv
**/.venv

# Debian release tooling (local paths; see debian/release.conf.example)
/.debian/
/out/
# Claude Code's per-checkout settings and its scheduler lock. Local to
# whoever is working here, and .vscode and .idea above are ignored for the
# same reason.
.claude/

# gcov's per-source output. gcovr runs gcov with the tree as its working
# directory and gcov writes a <source>##<hash>.gcov beside it, so a coverage
# run leaves a couple of hundred untracked files behind -- enough to bury a
# real change in `git status`.
*.gcov
