-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitattributes
More file actions
53 lines (45 loc) · 2.58 KB
/
Copy path.gitattributes
File metadata and controls
53 lines (45 loc) · 2.58 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
# Force LF line endings on checkout for files where the in-repo
# bytes are themselves the test fixture or the snapshot under
# assertion. Git's `core.autocrlf=true` (Windows default) would
# otherwise convert these to CRLF, producing spurious diffs in
# tests that read the file back and compare against an
# in-memory `\n`-only string.
# Snapshot files are byte-stable across platforms by design.
crates/alint-dsl/tests/snapshots/*.txt text eol=lf
# YAML test fixtures (testkit + e2e scenarios) feed YAML parsers
# that mostly tolerate CRLF, but stay safe and explicit.
crates/alint-e2e/scenarios/**/*.yml text eol=lf
crates/alint-dsl/tests/fixtures/*.yaml text eol=lf
# trycmd snapshots — stdout/stderr literals compared byte-for-byte.
crates/alint/tests/cli/*.stdout text eol=lf
crates/alint/tests/cli/*.stderr text eol=lf
crates/alint/tests/cli/*.in text eol=lf
crates/alint/tests/cli/*.toml text eol=lf
# Generated config schema: `gen-schema --check` (and its xtask test) read these
# back and byte-compare against a `\n`-only rendered string, so a CRLF checkout
# on Windows would spuriously report the schema as stale.
schemas/v1/config.json text eol=lf
crates/alint-dsl/schemas/v1/config.json text eol=lf
# Generated contracts + crate dependency graph: `gen-facts --check`,
# `gen-roadmap --check`, and `gen-arch --check` (and their xtask tests)
# byte-compare these against a `\n`-only rendered string — the same
# CRLF-on-Windows hazard as the schema above. Without these pins the Windows
# CI job reports them spuriously stale (the failure that started with the
# facts.json / crate-graph.md commits).
facts.json text eol=lf
roadmap.json text eol=lf
docs/design/architecture/crate-graph.md text eol=lf
# Generated in-crate kind-to-category bridge: `gen-categories --check` (and its
# xtask test `gen_categories_check_passes_on_committed_tree`) render a `\n`-only
# string and byte-compare it against this committed file — same CRLF-on-Windows
# hazard as the generated artifacts above. Without this pin the Windows CI job
# reports the bridge spuriously stale.
crates/alint-rules/src/categories_gen.rs text eol=lf
crates/alint-rules/src/kind_docs_gen.rs text eol=lf
# Generated LikeC4 architecture-model fragments: `gen-model --check` (and its
# xtask test) byte-compare these against a `\n`-only rendered string — same
# CRLF-on-Windows hazard as the generated contracts above.
docs/design/architecture/model/*.c4 text eol=lf
# Generated GitHub-facing Mermaid diagram gallery: `gen-mermaid --check`
# byte-compares it against a `\n`-only rendered string (same hazard).
docs/design/architecture/DIAGRAMS.md text eol=lf