f9c6cbabb1
add TestIsImage
...
Signed-off-by: Davor Kapsa <davor.kapsa@gmail.com >
2018-10-03 22:12:00 +03:00
039c4b9628
add TestIsAuxiliaryLanguage
...
Signed-off-by: Davor Kapsa <davor.kapsa@gmail.com >
2018-10-03 22:12:00 +03:00
03e4a029c2
fix json output for a single file; fixes #159
...
Signed-off-by: Denys Smirnov <denys@sourced.tech >
2018-09-28 20:15:07 +03:00
15bb13117f
Refactor Oniguruma integration
...
Instead of use a command to change imports before build, using a build tag to generate the correct binary.
This will allow applications to compile enry using oniguruma with less troubles.
Signed-off-by: Antonio Jesus Navarro Perez <antnavper@gmail.com >
2018-08-29 18:01:13 +03:00
8da8516ac1
clarify GetLanguages usage
...
Signed-off-by: Denys Smirnov <denys@sourced.tech >
2018-07-31 00:24:20 +03:00
180e8b64c5
ci: fix maven publish steps
...
Signed-off-by: Denys Smirnov <denys@sourced.tech >
2018-05-10 16:17:10 +03:00
6712d4219f
optimize line count and limit maximal file size to read; fixes #101
...
Signed-off-by: Denys Smirnov <denys@sourced.tech >
2018-05-06 15:27:35 +03:00
c72d3c4af2
ci: do not run go install steps for maven deploy
...
Signed-off-by: Denys Smirnov <denys@sourced.tech >
2018-05-04 22:36:52 +03:00
35d103b4e4
Add counting mode, and only programming languages flags. ( #110 )
...
Signed-off-by: Zachary Romero <zacromero3@gmail.com >
2018-05-04 18:53:18 +03:00
83cc32253e
rename cli to cmd to follow go convention
...
Signed-off-by: Denys Smirnov <denys@sourced.tech >
2018-04-30 12:59:25 +03:00
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
40a21f8e0b
add canonical import path for the package
...
Signed-off-by: Denys Smirnov <denys@sourced.tech >
2018-04-30 12:56:49 +03:00
42391b8e10
Update MAINTAINERS
2018-04-24 18:17:38 +03:00
abdfc77dbc
Merge pull request #140 from ZJvandeWeg/zj-rename-onigumura
...
Rename onigumura to oniguruma
2018-03-28 21:44:21 +02:00
7923b86ebd
Rename onigumura to oniguruma
...
This change names the dependency like its called. The link to the
package was correct, but all other references were renamed where I could
find time with git grep.
Signed-off-by: Zeger-Jan van de Weg <git@zjvandeweg.nl >
2018-03-28 21:34:54 +02:00
0db3b4b553
Merge pull request #138 from abeaumont/fix/hotfix-for-enry-crash
...
enry-java: Tentative fix for the enry crashes in enry-java.
2018-01-12 12:40:32 +01:00
b268fad92d
enry-java: Tentative fix for the enry crashes in enry-java.
...
Signed-off-by: Alfredo Beaumont <alfredo.beaumont@gmail.com >
2018-01-12 12:17:30 +01:00
3a78601f6e
Merge pull request #135 from abeaumont/feature/bump-java-version
...
java: bump version to 1.6.2
2017-12-12 12:29:30 +01:00
747b293abf
java: bump version to 1.6.2
...
Signed-off-by: Alfredo Beaumont <alfredo.beaumont@gmail.com >
2017-12-12 12:28:40 +01:00
29cbadf9c5
Merge pull request #134 from abeaumont/fix/check-empty-filenames
...
Fix crash by checking for empty filenames
2017-12-12 10:34:31 +01:00
c590beb039
common: Return nil on empty filenames
...
Signed-off-by: Alfredo Beaumont <alfredo.beaumont@gmail.com >
2017-12-07 16:45:19 +01:00
a7cfa65953
tests: Add testcases for empty filenames
...
Signed-off-by: Alfredo Beaumont <alfredo.beaumont@gmail.com >
2017-12-07 16:42:02 +01:00
97be58ff4a
Merge pull request #133 from juanjux/feature/compiled_osxcross
...
Use a precompiled package for osxcross for CI.
2017-11-21 16:03:58 +01:00
bb027340fb
Use a precompiled package for osxcross for CI.
...
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech >
2017-11-21 15:29:36 +01:00
acaf8f3d38
Merge pull request #131 from abeaumont/fix/bump-enry-java-version
...
enry-java: Bump version to 1.6.1
2017-11-10 13:17:23 +01:00
7c00dc5480
enry-java: Bump version to 1.6.1
...
Signed-off-by: Alfredo Beaumont <alfredo.beaumont@gmail.com >
2017-11-10 13:15:56 +01:00
c256de15c1
Merge pull request #130 from mcarmonaa/fix/get-header-footer
...
Fixing getHeaderAndFooter issues
2017-11-10 09:37:39 +01:00
0984e07415
use of go 1.9.x in travis
...
Signed-off-by: Manuel Carmona <manu.carmona90@gmail.com >
2017-11-08 14:41:31 +01:00
5dad184af0
check for empty content in getHeaderAndFooter function
...
Signed-off-by: Manuel Carmona <manu.carmona90@gmail.com >
2017-11-08 14:41:31 +01:00
8ddce8bc4b
Added cases with nil and empty content to TestGetLanguagesByModeline
...
Signed-off-by: Manuel Carmona <manu.carmona90@gmail.com >
2017-11-08 14:41:31 +01:00
f6649550f0
fixed test for GetLanguagesByShebang function
...
Signed-off-by: Manuel Carmona <manu.carmona90@gmail.com >
2017-11-08 14:41:31 +01:00
da7dbb7211
synchronized data/ directory
...
Signed-off-by: Manuel Carmona <manu.carmona90@gmail.com >
2017-11-08 14:41:31 +01:00
ce5adee8ab
Merge pull request #113 from vmarkovtsev/master
...
Use rubex for faster regular expressions
2017-10-26 18:03:43 +02:00
b66d54eaec
Do not run Travis jobs with ONIGUMURA by default
...
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech >
2017-10-26 17:47:52 +02:00
b92be473c4
Merge pull request #114 from vmarkovtsev/patch-2
...
Add the external test linguist dir from env var
2017-10-26 17:08:58 +02:00
8eb17ebd11
Improve the Makefile
...
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech >
2017-10-26 17:04:31 +02:00
db0e1e0d71
Fix readme flaws
...
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech >
2017-10-26 17:04:31 +02:00
52ab47de4d
Add the readme
...
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech >
2017-10-26 17:04:31 +02:00
b087f85697
Add two-engine tests
...
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech >
2017-10-26 17:04:31 +02:00
e8d150c4fd
Add optional activation of rubex/onigumura
...
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech >
2017-10-26 17:04:31 +02:00
a66154b7eb
Make tokenizer regexps work under rubex
...
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech >
2017-10-26 17:04:31 +02:00
09d6add804
Fix review
...
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech >
2017-10-26 17:02:58 +02:00
c97a180da5
Fix review suggestions
...
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech >
2017-10-26 15:51:02 +02:00
91c074ea1d
Merge pull request #127 from setekhid/master
...
make IsDotFile do not treat '.' as true
2017-10-18 12:49:43 +02:00
0c9a81b5cb
Merge pull request #128 from abeaumont/feature/add-dco
...
legal: Add DCO
2017-10-18 10:53:55 +02:00
247e7cf378
legal: Add DCO
...
Signed-off-by: Alfredo Beaumont <alfredo.beaumont@gmail.com >
2017-10-18 10:52:29 +02:00
a786f6175e
patch IsDotFile function compatible with both '.' and '..'
...
Signed-off-by: Huitse Tai <geb.1989@gmail.com >
2017-10-18 12:50:33 +08:00
887bc6a4be
make IsDotFile do not treat '.' as true
...
Signed-off-by: Huitse Tai <geb.1989@gmail.com >
2017-10-18 12:18:52 +08:00
c2ec7add03
Merge pull request #126 from dpordomingo/shared-folder-rename
...
Rename .shared folder
2017-10-17 10:40:42 +02:00
eb0817ad9a
Use .docsrv-resources instead of .shared foldername to avoid problems with Travis and sbt
...
Signed-off-by: David Pordomingo <David.Pordomingo.F@gmail.com >
2017-10-17 07:07:08 +02:00