-
-
Notifications
You must be signed in to change notification settings - Fork 329
Expand file tree
/
Copy path.gitattributes
More file actions
24 lines (19 loc) · 848 Bytes
/
.gitattributes
File metadata and controls
24 lines (19 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Override GitHub language detection to show Rust instead of Makefile
# This is needed because Rust build generates many .d files with Makefile syntax
# Mark Rust files as detectable and prioritize them
*.rs linguist-detectable=true
# Exclude build artifacts and dependency files from language detection
*.d linguist-detectable=false
Makefile linguist-detectable=false
makefile linguist-detectable=false
GNUmakefile linguist-detectable=false
# Exclude other build artifacts and generated files
target/ linguist-generated=true
Cargo.lock linguist-generated=true
*.profraw linguist-generated=true
# Ensure template files are properly categorized
*.toml linguist-detectable=true
*.yml linguist-detectable=true
*.yaml linguist-detectable=true
# Force LF line endings for shell scripts (prevents CRLF shebang failures on Linux CI)
*.sh text eol=lf