Alexander Bezzubov
bc5e031cee
Drop src-d org ref except for issues
...
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2020-03-19 14:04:36 +01:00
Lauris Bukšis-Haberkorns
4e3e15e80d
Sync to linguist v7.5.1
...
Signed-off-by: Lauris BH <lauris@nix.lv>
2019-08-06 17:18:01 +03:00
Alexander Bezzubov
6a5f37e9e2
modules: prepare for v2 release
...
- update go.mod \w v2
- update all import paths
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2019-04-14 21:28:12 +02:00
Alexander Bezzubov
20c6d2845a
build: gopkg.in -> github.com imports
...
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2019-04-12 11:49:16 +02:00
Alexander
3499750785
Sync to linguist 7.2.0: heuristics.yml support ( #189 )
...
Sync \w Github Linguist v7.2.0
Includes new way of handling `heuristics.yml` and
all `./data/*` re-generated using Github Linguist [v7.2.0](https://github.com/github/linguist/releases/tag/v7.2.0 )
release tag.
- many new languages
- better vendoring detection
- update doc on update&known issues.
2019-02-14 12:47:45 +01:00
Denys Smirnov
7eafe024af
write a canonical header for machine-generated files
...
Signed-off-by: Denys Smirnov <denys@sourced.tech>
2018-04-30 12:57:39 +03:00
Manuel Carmona
2045abfa41
use of gopkg.in/toqueteos/substring.v1 in content.go to improve GetLanguagesByContent performance
2017-07-13 08:21:09 +02:00
David Paz
7e827e47ef
moved generated data to data subpackage
2017-06-28 08:31:11 +02:00
Manuel Carmona
1fc8cf7a5d
changes to improve detection accuracy
2017-06-15 10:07:22 +02:00
Manuel Carmona
ba53e10c7b
renamed package and cli to enry
2017-06-13 14:18:23 +02:00
Máximo Cuadros
3a470f617c
project renamed to enry
2017-06-08 09:27:27 +02:00
Manuel Carmona
0d5dff1979
changes in the API, ready to version 2
2017-06-06 11:30:23 +02:00
Manuel Carmona
5b304524d1
Rearranged code
2017-06-02 09:33:55 +02:00
Manuel Carmona
664afe48d4
fixed GetLanguageByContent returned value when there is not a function matcher for the extension
2017-05-03 10:37:34 +02:00
Manuel Carmona
28dc452853
added some corner cases to content.go generation tests
2017-04-27 17:32:42 +02:00
Manuel Carmona
c6d74bca66
added shebang functionality
...
fixed autogenerated comment
changed constant types names
GetLanguageByShebang doesn't print errors
languageInfo struct change to have only necessary fields
GetLanguageByShebang has a comment now
2017-04-27 16:40:08 +02:00
Manuel Carmona
6ddbb79af0
changed generator_test.go to use only TestFromFile
...
modified *.test.yml to contain only necessary information
fixed white spaces
remove duplicated file languages.test.tmpl
2017-04-27 16:39:36 +02:00
Manuel Carmona
03c71a9b93
move content.go generation to internal
2017-04-05 18:15:27 +02:00