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>
Refactoring, consisting of
- remove unused method `isAuxiliaryLanguage` and `FileCountList`
in order to reduce public API surfaces (go/java)
- add GoDoc to public APIs
- ci: java profile use latest go src
It also now mimics https://docs.travis-ci.com/user/languages/go/#go-import-path
for non-go build image, as code relies on internal imports.
TEST PLAN:
- make test
Otherwise JNAetor enry.jar binding generation on
CI using `make all` results in
```
/home/travis/build/bzz/enry/java/shared/libenry.h:8:0:
error: File not found: stddef.h in
. /usr/include /usr/local/include /usr/include/c++/4.8.4 /usr/include/c++/4.8.4/tr1
```
Signed-off-by: Alexander Bezzubov <bzz@apache.org>