Commit Graph

26 Commits

Author SHA1 Message Date
84efad7693 *: module rename to go-enry/go-enry/v4 2020-03-19 17:31:29 +01:00
ee7a0f1139 python: initial impl of bindings using cFFI
A PoC that exposes single function
`enry.language_by_extension()` and a small
number of helpers to deal with string
coversion between Go<->C<->Python.

Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2019-10-14 19:38:33 +02:00
ade47c0a22 ci: enable cgo for linux native lib release
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2019-04-11 23:25:27 +02:00
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
ef50154395 Maintenance: batch of minor changes (#183)
* exclude build artifacts from git
* build: simplify building by using src-d/ci
* bench: simplify&fix shell runners
* build: simplify benchmarks* targets
* test: remove dependency on single test suite
* doc: rel image link + linguist cli difference highlight
* suggestions from code review
* bench: add fail fast to all shell runners

Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2018-12-27 11:55:34 +01:00
a5e3d7d645 ci: move to modeern src-d/ci v1
Otherwise, \w current version 'make pakcages' returns 0
even if the build fails e.g.
https://travis-ci.org/src-d/enry/jobs/445378508

Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2018-10-24 08:26:08 +02: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
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
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
8eb17ebd11 Improve the Makefile
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
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
54de51acf7 Cleanup
Signed-off-by: David Pordomingo <David.Pordomingo.F@gmail.com>
2017-10-16 15:47:11 +02:00
ca5f3d9fd6 Implement docsrv
Signed-off-by: David Pordomingo <David.Pordomingo.F@gmail.com>
2017-10-16 08:40:51 +02:00
4892115416 build: Fix cross compilation of darwin shared library 2017-09-28 18:07:55 +02:00
d8fc4fe92f java implementation of enry
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
2017-08-08 18:01:54 +02:00
1d1e090149 modified Makefile to include src-d/ci/Makefile.main 2017-07-18 13:31:34 +02:00
22cb6f602e renamed benchmark directory to benchmarks
updated .gitignore
2017-07-13 08:23:10 +02:00
68109ad01c removed benchmark/output directory 2017-07-13 08:23:10 +02:00
8d91dc7be8 added benchmarks and scripts to run, parse and plot them
moved benchmark/run-slow-benchmarks.sh's content to Makefile
2017-07-13 08:21:09 +02:00
4edff792e8 added version to cli 2017-07-07 15:05:22 +02:00
ded3e2c4ae Added test-coverage 2017-06-28 08:31:31 +02:00
7e827e47ef moved generated data to data subpackage 2017-06-28 08:31:11 +02:00
dae33dc2b2 makefile: clone linguist from https 2017-04-05 19:27:19 +02:00
d289a80e4c Makefile go generate base 2017-04-05 18:38:42 +02:00
bead3a606f tests 2016-07-13 22:21:18 +02:00