From c2854ef7c9d0354a111001f6cb979a4360814020 Mon Sep 17 00:00:00 2001 From: ProjectRevoTPP Date: Mon, 20 Nov 2017 17:05:30 -0500 Subject: Interpret data scripts as Text in linguist. --- .gitattributes | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitattributes b/.gitattributes index b447e32c3..20ea1f57c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -16,3 +16,12 @@ Makefile text eol=lf *.h linguist-language=C *.inc linguist-language=Assembly +docs/* linguist-vendored +# most of the assembly count comes from huge amounts of script include files: it is not fair to count these as assembly. as such, we will instead interpret these as Text since they are direct bytecode scripts. +data/maps/* linguist-language=Text +data/scripts/* linguist-language=Text +data/battle_ai_scripts.s linguist-language=Text +data/battle_anim_scripts.s linguist-language=Text +data/battle_scripts_1.s linguist-language=Text +data/battle_scripts_2.s linguist-language=Text +data/contest_ai_scripts.s linguist-language=Text -- cgit v1.2.3 From b72ea99488f6b1233b6140e07c6703e3ce6926ef Mon Sep 17 00:00:00 2001 From: ProjectRevoTPP Date: Mon, 20 Nov 2017 19:11:41 -0500 Subject: vendor the scripts instead of using Text. add sound data --- .gitattributes | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.gitattributes b/.gitattributes index 20ea1f57c..969d0c7ff 100644 --- a/.gitattributes +++ b/.gitattributes @@ -17,11 +17,13 @@ Makefile text eol=lf *.h linguist-language=C *.inc linguist-language=Assembly docs/* linguist-vendored -# most of the assembly count comes from huge amounts of script include files: it is not fair to count these as assembly. as such, we will instead interpret these as Text since they are direct bytecode scripts. -data/maps/* linguist-language=Text -data/scripts/* linguist-language=Text -data/battle_ai_scripts.s linguist-language=Text -data/battle_anim_scripts.s linguist-language=Text -data/battle_scripts_1.s linguist-language=Text -data/battle_scripts_2.s linguist-language=Text -data/contest_ai_scripts.s linguist-language=Text +# most of the assembly count comes from huge amounts of script include files: it is not fair to count these as assembly. as such, we will instead vendor these. Note that they do take up the majority of the repository. +data/maps/* linguist-vendored +data/scripts/* linguist-vendored +data/battle_ai_scripts.s linguist-vendored +data/battle_anim_scripts.s linguist-vendored +data/battle_scripts_1.s linguist-vendored +data/battle_scripts_2.s linguist-vendored +data/contest_ai_scripts.s linguist-vendored +# sound data +sound/songs/*.s linguist-generated -- cgit v1.2.3 From 6158dfd2ac31790f8346018264f45f840b536ea9 Mon Sep 17 00:00:00 2001 From: ProjectRevoTPP Date: Mon, 20 Nov 2017 19:39:56 -0500 Subject: make sound vendored again. --- .gitattributes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 969d0c7ff..e2e064714 100644 --- a/.gitattributes +++ b/.gitattributes @@ -26,4 +26,4 @@ data/battle_scripts_1.s linguist-vendored data/battle_scripts_2.s linguist-vendored data/contest_ai_scripts.s linguist-vendored # sound data -sound/songs/*.s linguist-generated +sound/songs/*.s linguist-vendored -- cgit v1.2.3