mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 13:02:50 -05:00
cargo xtask ui-commands --check compares crates/mcp/src/ui_catalog.rs byte for byte with the rustfmt output the generator produces, which has LF line endings. With core.autocrlf=true, the Git for Windows default, git checked the file out with CRLF line endings, so the check and cargo xtask ci failed on an unchanged tree. The root .gitattributes now marks the file -text, as it does the DXF writer goldens, so git checks it out with the LF bytes stored in the index.
5 lines
275 B
Plaintext
5 lines
275 B
Plaintext
# The DXF writer goldens are compared byte for byte with the writer's output (LF line endings).
|
|
crates/cad/tests/data/*.dxf -text
|
|
# `cargo xtask ui-commands --check` compares this file byte for byte with rustfmt's output (LF line endings).
|
|
crates/mcp/src/ui_catalog.rs -text
|