Skip to content

Commit

Permalink
[MISC] Small changes to .gitattributes
Browse files Browse the repository at this point in the history
- Ignore everything in lowcar/lib for language stats
- Ensure that .h files in lowcar/devices classified as C++
  • Loading branch information
benliao1 committed Aug 1, 2023
1 parent d6a76ef commit 018d7d5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# in language profile, ignore third-party libraries used in lowcar
lowcar/lib/* linguist-vendored
lowcar/lib/** linguist-vendored

# force everything in the lowcar/lib directory to be classified as C++
lowcar/devices/** linguist-language=C++

# force the Makefile_defs file to be classified as Makefile and be syntax highlighted as Makefile
Makefile_defs linguist-language=Makefile

0 comments on commit 018d7d5

Please sign in to comment.