-
-
Notifications
You must be signed in to change notification settings - Fork 543
Expand file tree
/
Copy path.gitattributes
More file actions
21 lines (17 loc) · 743 Bytes
/
Copy path.gitattributes
File metadata and controls
21 lines (17 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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