Commit Graph

7 Commits

Author SHA1 Message Date
Alexander
13d3d66d37
refactoring: remove un-used code, add go doc, fix ci (#199)
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
2019-02-05 22:54:14 +01:00
Alexander Bezzubov
115a7bdc64
java: fix macOS binding generation
`/usr/include/sys/cdefs.h:74:25: warning: #warning "Unsupported compiler detected"`

is solved by by tricking cdefs.h into thinking we're gcc,
similar to https://github.com/nativelibs4java/JNAerator/issues/8#issuecomment-81965369

Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2018-10-21 16:01:13 +02:00
Alexander Bezzubov
f8d128eeaa
ci: force missing include for java
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>
2018-10-21 16:01:13 +02:00
Alexander Bezzubov
e6cf6af6d9
Java: self-contained build, using sbt wrapper
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2017-09-22 19:10:08 +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