Tests run with their package directory as cwd, so any package can drop a logs/ directory. The per-package list kept going stale; match src/**/logs instead.
9 lines
323 B
Plaintext
9 lines
323 B
Plaintext
# Go build artifacts (Air runs inside the dev container as root)
|
|
src/tmp/
|
|
src/logs/
|
|
|
|
# Logger writes its logs/ dir relative to the working directory, so package
|
|
# tests (which run with the package dir as cwd) drop logs under any src/*/.
|
|
# Glob every package so a new test package cannot leak a stray log file.
|
|
src/**/logs/
|