Merge pull request #42 from lafriks-fork/feat/sync_v7.12.2

Sync with github/linguist version v7.12.2
This commit is contained in:
Alexander 2021-03-06 15:35:46 +01:00 committed by GitHub
commit 1ad7deb89e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
28 changed files with 1310 additions and 1128 deletions

View File

@ -150,7 +150,7 @@ macOS and linux platforms. Windows support is planned under [src-d/enry#150](htt
## Divergences from Linguist
The `enry` library is based on the data from `github/linguist` version **v7.12.1**.
The `enry` library is based on the data from `github/linguist` version **v7.12.2**.
Parsing [linguist/samples](https://github.com/github/linguist/tree/master/samples) the following `enry` results are different from the Linguist:

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data
@ -99,6 +99,7 @@ var LanguageByAliasMap = map[string]string{
"brainfuck": "Brainfuck",
"brightscript": "Brightscript",
"bro": "Zeek",
"browserslist": "Browserslist",
"bsdmake": "Makefile",
"byond": "DM",
"bzl": "Starlark",

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data
@ -35,6 +35,7 @@ var LanguagesColor = map[string]string{
"BlitzMax": "#cd6400",
"Boo": "#d4bec1",
"Brainfuck": "#2F2530",
"Browserslist": "#ffd539",
"C": "#555555",
"C#": "#178600",
"C++": "#f34b7d",

View File

@ -1,7 +1,7 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data
// linguist's commit from which files were generated.
var LinguistCommit = "223c00bb80eff04788e29010f98c5778993d2b2a"
var LinguistCommit = "3ef386bbb7d10afe2ef81d85c9911871a9f2c221"

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data
@ -368,6 +368,7 @@ var LanguagesByExtension = map[string][]string{
".glslf": {"GLSL"},
".glslv": {"GLSL"},
".gltf": {"JSON"},
".glyphs": {"OpenStep Property List"},
".gml": {"Game Maker Language", "Gerber Image", "Graph Modeling Language", "XML"},
".gms": {"GAMS"},
".gmx": {"XML"},
@ -1524,7 +1525,7 @@ var ExtensionsByLanguage = map[string][]string{
"OpenEdge ABL": {".p", ".cls", ".w"},
"OpenQASM": {".qasm"},
"OpenSCAD": {".scad"},
"OpenStep Property List": {".plist"},
"OpenStep Property List": {".plist", ".glyphs"},
"OpenType Feature File": {".fea"},
"Org": {".org"},
"Ox": {".ox", ".oxh", ".oxo"},

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data
@ -16,6 +16,7 @@ var LanguagesByFilename = map[string][]string{
".bash_logout": {"Shell"},
".bash_profile": {"Shell"},
".bashrc": {"Shell"},
".browserslistrc": {"Browserslist"},
".bzrignore": {"Ignore List"},
".clang-format": {"YAML"},
".clang-tidy": {"YAML"},
@ -179,6 +180,7 @@ var LanguagesByFilename = map[string][]string{
"bash_logout": {"Shell"},
"bash_profile": {"Shell"},
"bashrc": {"Shell"},
"browserslist": {"Browserslist"},
"build.xml": {"Ant Build System"},
"buildfile": {"Ruby"},
"buildozer.spec": {"INI"},

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data
@ -54,6 +54,7 @@ var LanguagesType = map[string]int{
"Boo": 2,
"Brainfuck": 2,
"Brightscript": 2,
"Browserslist": 1,
"C": 2,
"C#": 2,
"C++": 2,

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data

View File

@ -19,7 +19,7 @@ import (
var (
linguistURL = "https://github.com/github/linguist.git"
linguistClonedEnvVar = "ENRY_TEST_REPO"
commit = "223c00bb80eff04788e29010f98c5778993d2b2a"
commit = "3ef386bbb7d10afe2ef81d85c9911871a9f2c221"
samplesDir = "samples"
languagesFile = filepath.Join("lib", "linguist", "languages.yml")

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data
@ -99,6 +99,7 @@ var LanguageByAliasMap = map[string]string{
"brainfuck": "Brainfuck",
"brightscript": "Brightscript",
"bro": "Zeek",
"browserslist": "Browserslist",
"bsdmake": "Makefile",
"byond": "DM",
"bzl": "Starlark",

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data
@ -35,6 +35,7 @@ var LanguagesColor = map[string]string{
"BlitzMax": "#cd6400",
"Boo": "#d4bec1",
"Brainfuck": "#2F2530",
"Browserslist": "#ffd539",
"C": "#555555",
"C#": "#178600",
"C++": "#f34b7d",

View File

@ -1,7 +1,7 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data
// linguist's commit from which files were generated.
var LinguistCommit = "223c00bb80eff04788e29010f98c5778993d2b2a"
var LinguistCommit = "3ef386bbb7d10afe2ef81d85c9911871a9f2c221"

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data
@ -368,6 +368,7 @@ var LanguagesByExtension = map[string][]string{
".glslf": {"GLSL"},
".glslv": {"GLSL"},
".gltf": {"JSON"},
".glyphs": {"OpenStep Property List"},
".gml": {"Game Maker Language", "Gerber Image", "Graph Modeling Language", "XML"},
".gms": {"GAMS"},
".gmx": {"XML"},
@ -1524,7 +1525,7 @@ var ExtensionsByLanguage = map[string][]string{
"OpenEdge ABL": {".p", ".cls", ".w"},
"OpenQASM": {".qasm"},
"OpenSCAD": {".scad"},
"OpenStep Property List": {".plist"},
"OpenStep Property List": {".plist", ".glyphs"},
"OpenType Feature File": {".fea"},
"Org": {".org"},
"Ox": {".ox", ".oxh", ".oxo"},

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data
@ -16,6 +16,7 @@ var LanguagesByFilename = map[string][]string{
".bash_logout": {"Shell"},
".bash_profile": {"Shell"},
".bashrc": {"Shell"},
".browserslistrc": {"Browserslist"},
".bzrignore": {"Ignore List"},
".clang-format": {"YAML"},
".clang-tidy": {"YAML"},
@ -179,6 +180,7 @@ var LanguagesByFilename = map[string][]string{
"bash_logout": {"Shell"},
"bash_profile": {"Shell"},
"bashrc": {"Shell"},
"browserslist": {"Browserslist"},
"build.xml": {"Ant Build System"},
"buildfile": {"Ruby"},
"buildozer.spec": {"INI"},

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data
@ -54,6 +54,7 @@ var LanguagesType = map[string]int{
"Boo": 2,
"Brainfuck": 2,
"Brightscript": 2,
"Browserslist": 1,
"C": 2,
"C#": 2,
"C++": 2,

View File

@ -1,5 +1,5 @@
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
// Extracted from github/linguist commit: 3ef386bbb7d10afe2ef81d85c9911871a9f2c221
package data