Commit Graph

290 Commits

Author SHA1 Message Date
Denys Smirnov
8da8516ac1 clarify GetLanguages usage
Signed-off-by: Denys Smirnov <denys@sourced.tech>
2018-07-31 00:24:20 +03:00
Denys Smirnov
180e8b64c5 ci: fix maven publish steps
Signed-off-by: Denys Smirnov <denys@sourced.tech>
2018-05-10 16:17:10 +03:00
Denys Smirnov
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
Denys Smirnov
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
Zachary Romero
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
Denys Smirnov
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
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
Denys Smirnov
40a21f8e0b add canonical import path for the package
Signed-off-by: Denys Smirnov <denys@sourced.tech>
2018-04-30 12:56:49 +03:00
Denys Smirnov
42391b8e10
Update MAINTAINERS 2018-04-24 18:17:38 +03:00
Vadim Markovtsev
abdfc77dbc
Merge pull request #140 from ZJvandeWeg/zj-rename-onigumura
Rename onigumura to oniguruma
2018-03-28 21:44:21 +02:00
Zeger-Jan van de Weg
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
Alfredo Beaumont
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
Alfredo Beaumont
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
Alfredo Beaumont
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
Alfredo Beaumont
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
Alfredo Beaumont
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
Alfredo Beaumont
c590beb039 common: Return nil on empty filenames
Signed-off-by: Alfredo Beaumont <alfredo.beaumont@gmail.com>
2017-12-07 16:45:19 +01:00
Alfredo Beaumont
a7cfa65953 tests: Add testcases for empty filenames
Signed-off-by: Alfredo Beaumont <alfredo.beaumont@gmail.com>
2017-12-07 16:42:02 +01:00
Juanjo Alvarez Martinez
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
Juanjo Alvarez
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
Alfredo Beaumont
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
Alfredo Beaumont
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
Alfredo Beaumont
c256de15c1
Merge pull request #130 from mcarmonaa/fix/get-header-footer
Fixing getHeaderAndFooter issues
2017-11-10 09:37:39 +01:00
Manuel Carmona
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
Manuel Carmona
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
Manuel Carmona
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
Manuel Carmona
f6649550f0 fixed test for GetLanguagesByShebang function
Signed-off-by: Manuel Carmona <manu.carmona90@gmail.com>
2017-11-08 14:41:31 +01:00
Manuel Carmona
da7dbb7211 synchronized data/ directory
Signed-off-by: Manuel Carmona <manu.carmona90@gmail.com>
2017-11-08 14:41:31 +01:00
Alfredo Beaumont
ce5adee8ab Merge pull request #113 from vmarkovtsev/master
Use rubex for faster regular expressions
2017-10-26 18:03:43 +02:00
Vadim Markovtsev
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
Alfredo Beaumont
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
Vadim Markovtsev
8eb17ebd11 Improve the Makefile
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
2017-10-26 17:04:31 +02:00
Vadim Markovtsev
db0e1e0d71 Fix readme flaws
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
2017-10-26 17:04:31 +02:00
Vadim Markovtsev
52ab47de4d Add the readme
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
2017-10-26 17:04:31 +02:00
Vadim Markovtsev
b087f85697 Add two-engine tests
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
2017-10-26 17:04:31 +02:00
Vadim Markovtsev
e8d150c4fd Add optional activation of rubex/onigumura
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
2017-10-26 17:04:31 +02:00
Vadim Markovtsev
a66154b7eb Make tokenizer regexps work under rubex
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
2017-10-26 17:04:31 +02:00
Vadim Markovtsev
09d6add804 Fix review
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
2017-10-26 17:02:58 +02:00
Vadim Markovtsev
c97a180da5 Fix review suggestions
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
2017-10-26 15:51:02 +02:00
Alfredo Beaumont
91c074ea1d Merge pull request #127 from setekhid/master
make IsDotFile do not treat '.' as true
2017-10-18 12:49:43 +02:00
Alfredo Beaumont
0c9a81b5cb Merge pull request #128 from abeaumont/feature/add-dco
legal: Add DCO
2017-10-18 10:53:55 +02:00
Alfredo Beaumont
247e7cf378 legal: Add DCO
Signed-off-by: Alfredo Beaumont <alfredo.beaumont@gmail.com>
2017-10-18 10:52:29 +02:00
Huitse Tai
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
Huitse Tai
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
Alfredo Beaumont
c2ec7add03 Merge pull request #126 from dpordomingo/shared-folder-rename
Rename .shared folder
2017-10-17 10:40:42 +02:00
David Pordomingo
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
Alfredo Beaumont
7be1324529 Merge pull request #125 from abeaumont/feature/bump-enry-java-version
enry-java: Bump version to 1.5.2
2017-10-16 16:32:23 +02:00
Alfredo Beaumont
f3aafaf1e0 enry-java: Bump version to 1.5.2
Signed-off-by: Alfredo Beaumont <alfredo.beaumont@gmail.com>
2017-10-16 16:31:25 +02:00
Alfredo Beaumont
1c163c5dae Merge pull request #124 from dpordomingo/docsrv
Implement Docsrv
2017-10-16 16:19:42 +02:00
David Pordomingo
54de51acf7
Cleanup
Signed-off-by: David Pordomingo <David.Pordomingo.F@gmail.com>
2017-10-16 15:47:11 +02:00