Commit Graph

208 Commits

Author SHA1 Message Date
Miguel Molina
9a36e8f398 enry-java: allow empty file contents
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
2017-09-22 19:00:19 +03:00
Alexander Bezzubov
b020f78841
Add test for empty file content 2017-09-22 17:39:02 +02:00
Alfredo Beaumont
a6faaaf012 Merge pull request #99 from mcarmonaa/fix/enry-java
fix getLanguage when arguments are null
2017-09-07 15:57:34 +02:00
Manuel Carmona
1d7b975743 fix getLanguage when arguments are null 2017-09-07 14:17:56 +02:00
Alfredo Beaumont
e1b2326b22 Merge pull request #98 from erizocosmico/fix/fat-jar
enry-java: publish fat jar without any classifiers in assembly task
2017-09-07 12:26:04 +02:00
Miguel Molina
818f77fc42
enry-java: publish fat jar without any classifiers in assembly task
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
2017-09-04 11:49:14 +02:00
Alfredo Beaumont
0fe0a97f67 Merge pull request #97 from abeaumont/fix/travis-api-key
travis: Fix binary deployment
2017-08-23 18:56:38 +02:00
Alfredo Beaumont
fd6a2f2132 travis: Fix binary deployment 2017-08-23 13:05:57 +02:00
Alfredo Beaumont
554c9254ae Merge pull request #96 from bzz/add-unknown-lang
Java bindings: add some convenience
2017-08-11 17:42:49 +02:00
Alexander Bezzubov
0a6ed07591 Convenience: Enry.unknownLanguage and Guess.toString/.equals/.hashCode 2017-08-11 15:29:18 +02:00
Alfredo Beaumont
2c6a48ef9e Merge pull request #94 from bzz/publish-full-jar
Java bindings: make final jar publishable
2017-08-11 15:16:40 +02:00
Alexander Bezzubov
b73364d147 Add ability to publish final jar locally 2017-08-11 15:09:14 +02:00
Alfredo Beaumont
9b33af75ed Merge pull request #95 from erizocosmico/test/get-language-by-filename
add a test for getLanguageByFilename
2017-08-11 13:06:38 +02:00
Miguel Molina
5bde175c91
add a test for getLanguageByFilename
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
2017-08-11 12:27:51 +02:00
Alexander Bezzubov
0c60da0f48 Add convenience sbt runner 2017-08-11 10:02:25 +02:00
Alfredo Beaumont
574cae8a84 Merge pull request #92 from erizocosmico/feature/java-impl
java bindings for Enry
2017-08-09 17:18:59 +02:00
Miguel Molina
4da1c5605c
rename result and sure in Guess to language and safe
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
2017-08-09 11:29:45 +02:00
Miguel Molina
61827a3630
remove references to maven usage in both README and travis.yml
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
2017-08-09 10:14:47 +02:00
Miguel Molina
2825eb22e6
get jnaerator from a jitpack jar
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
2017-08-08 18:20:16 +02:00
Miguel Molina
f53abe6bc2
travis configuration
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
2017-08-08 18:02:01 +02:00
Miguel Molina
d8fc4fe92f
java implementation of enry
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
2017-08-08 18:01:54 +02:00
Miguel Molina
33ff3ba8cd
add C exports for enry
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
2017-08-08 18:00:42 +02:00
Alfredo Beaumont
156619f926 Merge pull request #93 from abeaumont/fix/get-language-by-content-with-filename
common: Add filename parameter to GetLanguageByContent function
2017-08-08 17:42:43 +02:00
Alfredo Beaumont
c9122aad9f common: Use underscore as parameter name for unused parameters 2017-08-08 14:58:01 +02:00
Alfredo Beaumont
0990c2868d common: Add filename parameter to GetLanguageByContent function
Internal code needs the filename to select a matcher, so not passing
any filename means no language will ever be found otherwise.
2017-08-08 11:58:02 +02:00
Alfredo Beaumont
bac0ef279c Merge pull request #88 from abeaumont/fix/ignore-symlinks-while-dirwalking
cli: Ignore symlinks inside a directory walk
2017-08-02 10:51:36 +02:00
Alfredo Beaumont
faeecb93ed cli: Ignore symlinks inside a directory walk 2017-08-01 11:54:48 +02:00
Alfredo Beaumont
c4e4848aae Merge pull request #85 from bzz/patch-1
Update README.md
2017-07-26 12:30:23 +02:00
Juanjo Alvarez Martinez
116f9f7881 Merge pull request #86 from bzz/fix/panic-on-shebang
Fix LanguagesByShebang strategy on single shebang
2017-07-25 13:22:48 +02:00
Alexander Bezzubov
3303cf7824 Fix 🐛 on file starting with single shebang 2017-07-25 10:37:11 +02:00
Alexander
8003c102eb Update README.md
Project rename artefacts
2017-07-25 09:15:50 +02:00
Alfredo Beaumont
7cd8904cbb Merge pull request #83 from mcarmonaa/fix/cli-analyzing-file
fixed bug in cli
2017-07-21 13:55:36 +02:00
Manuel Carmona
0b6e83ed74 fixed bug in cli 2017-07-21 13:38:19 +02:00
Alfredo Beaumont
4d42cb06d3 Merge pull request #73 from dpaz/issue72
Cli to analyze a single file
2017-07-20 13:40:56 +02:00
Alfredo Beaumont
77db3446cf Merge pull request #77 from abeaumont/feature/replace-mit-by-apache2-license
legal: Replace MIT by Apache2 license
2017-07-19 12:26:20 +02:00
David Paz
52d7ccd6cf Updated mimeType.gold and regenerated mimeType.go 2017-07-19 10:18:18 +02:00
Alfredo Beaumont
200c153302 Merge pull request #82 from mcarmonaa/improvement/linguist-version
added linguist version to CLI
2017-07-18 16:59:40 +02:00
Manuel Carmona
99d2085aad added linguist version to CLI 2017-07-18 16:41:14 +02:00
Alfredo Beaumont
dbc4115830 Merge pull request #81 from mcarmonaa/fix/ci-build-binaries
added before_deploy section to .travis.yml
2017-07-18 16:39:39 +02:00
Manuel Carmona
d28497d3d1 added before_deploy section to .travis.yml 2017-07-18 16:14:59 +02:00
Alfredo Beaumont
98e1ee847e Merge pull request #79 from mcarmonaa/fix/histogram-url
fixed histogram's url
2017-07-18 15:34:44 +02:00
Manuel Carmona
ddeb568f38 fixed histogram's url 2017-07-18 15:26:13 +02:00
Alfredo Beaumont
6a906f20c0 Merge pull request #80 from mcarmonaa/fix/travis-ci
added deploy section to .travis.yml
2017-07-18 14:50:06 +02:00
Manuel Carmona
adcaeb4a48 added deploy section to .travis.yml 2017-07-18 14:44:30 +02:00
Alfredo Beaumont
c885af7834 Merge pull request #76 from mcarmonaa/fix/makefile-ci
Included src-d/ci/Makefile.main in Makefile
2017-07-18 13:48:31 +02:00
Manuel Carmona
8e0a26f810 modified benchmark_test.go to use a cloned linguist repo 2017-07-18 13:31:34 +02:00
Manuel Carmona
510c430fd0 fixed some tests that were not using a temp-linguist-repo 2017-07-18 13:31:34 +02:00
Manuel Carmona
1d1e090149 modified Makefile to include src-d/ci/Makefile.main 2017-07-18 13:31:34 +02:00
Alfredo Beaumont
29f7bc77b7 Merge pull request #78 from mcarmonaa/improvement/update-data
upadated data
2017-07-18 12:57:04 +02:00
David Paz
bd402a063c Fixed output text 2017-07-18 12:54:54 +02:00