-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
29 lines (24 loc) · 1.06 KB
/
Copy path.gitattributes
File metadata and controls
29 lines (24 loc) · 1.06 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
# Force GitHub Linguist to count Go as the primary language of this repository.
# 1) Mark helper scripts and sub-projects as vendored to let Go dominate.
scripts/** linguist-vendored=true
deploy/** linguist-vendored=true
firmware/** linguist-vendored=true
# Mark sub-projects as vendored if we only want Go to be the primary lang
material-lab/** linguist-vendored=true
desk/** linguist-vendored=true
enclosure-sensor/** linguist-vendored=true
web/node_modules/** linguist-vendored=true
web/dist/** linguist-vendored=true
web/src/wrap.py linguist-vendored=true
# 2) Documentation folders are docs, not code
docs/** linguist-documentation=true
*.md linguist-documentation=true
# 3) Explicit declarations
*.go linguist-language=Go
*.mod linguist-language=Go
*.sum linguist-language=Go
*.sql linguist-language=SQL
*.sqlite3 linguist-language=SQL
# 4) Lock build artifacts out of stats
*.tgz linguist-vendored=true
app_remote.sqlite3 linguist-vendored=true