Alex Bezzubov
319e630aaf
code-gen: syntax-aware generation of vendor regex
2023-01-19 19:50:22 +01:00
Alex Bezzubov
ede9e478fe
IsVendor: move RE collation to code generation phase
...
test plan:
* go test -run '^TestIsVendor$' github.com/go-enry/go-enry/v2
2022-12-01 22:16:44 +01:00
Máximo Cuadros
29bc0a181b
data: replace substring package with regex package
2020-04-15 17:27:48 +02: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
David Paz
7e827e47ef
moved generated data to data subpackage
2017-06-28 08:31:11 +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
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
e998b0ff2e
regexp for vendored files and directories are generated in vendor_matchers.go
2017-04-07 09:27:40 +02:00