Repository navigation
Expand file tree
/
Copy path.gitignore
More file actions
67 lines (61 loc) · 2.8 KB
/
Copy path.gitignore
File metadata and controls
67 lines (61 loc) · 2.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
out/
build/
_build/
site/
.cache/
.vs/
.vscode/
.idea/
.claude/
CMakeUserPresets.json
*.user
compile_commands.json
bench/results/
__pycache__/
vcpkg_installed/
# Profiling artifacts
callgrind.out.*
perf.data*
*.tracy
# Local, untracked version override. The git tag is the single source of truth
# for the version (cmake/Version.cmake); this file is ignored here so it cannot
# be staged by accident, and `ctest -R repository-hygiene` fails outright if it
# is ever tracked again — a committed version carrier is exactly what stopped the
# tag being the source of truth once before. Ignoring it is the ergonomics; the
# test is the enforcement.
#
# Anchored with a leading slash so it names the repository root and nothing else,
# matching the pathspec the hygiene check inspects. Unanchored, this would also
# hide a `version.txt` anywhere below — a path the check does not look at, so the
# ignore rule would be silently wider than the rule it exists to support.
/version.txt
# CTest writes this beside whatever directory it was invoked from, so running
# `ctest --preset ...` at the repository root leaves it in the source tree.
# Anchored to the root: a `Testing/` directory further down would be somebody
# else's and is not this rule's to hide.
/Testing/
# check-utf8-argv.cmake captures the child's streams as FILES, because reading
# them into a variable decodes them through the console's code page — which is
# the defect that check exists to catch (#1134). Under ctest they land in the
# build tree: WORKING_DIRECTORY is `<build>/src/tests`, measured from
# `ctest --show-only=json-v1` rather than assumed. This rule is only for the
# hand-run case — `cmake -P scripts/check-utf8-argv.cmake` from a checkout leaves
# them beside wherever you stood. They are removed on a pass and deliberately
# KEPT on a failure, so this matters exactly when somebody is mid-debug and least
# wants a dirty tree: the local gate refuses to start on one.
#
# Anchored on the `/Testing/` rule's reasoning above — a file by this name
# further down is somebody else's and not this rule's to hide.
/utf8-argv-*.out
/utf8-argv-*.err
# `check-windows-header-order.sh --self-test` writes a neutered copy of the
# configuration beside the real one, so that clang-format resolves the same
# `--style=file` search it would for a real source file, and removes it on a trap.
# A SIGKILL skips that trap, and the leftover would dirty the tree for whichever
# lane looks next -- confusingly, since it is named like the file it is not.
# Anchored to the root: this pattern is only ever created there.
/.clang-format-neutered.*
# The design and plan documents the agent workflow (superpowers brainstorming /
# writing-plans) writes are local working files and are never tracked. Anchored
# to the repository root's docs/ directory, like the rules above.
/docs/superpowers/