@@ -450,6 +450,48 @@ integers are not included because they are not available in Java.
...
@@ -450,6 +450,48 @@ integers are not included because they are not available in Java.
## Test Suite
## Test Suite
Run `make test` to invoke the test suite, found in the test-suite subdirectory. It will build and run Java code on a local JVMy, plus Objective-C on an iOS simulator. The latter will only work on a Mac with Xcode.
Run `make test` to invoke the test suite, found in the test-suite subdirectory. It will build and run Java code on a local JVMy, plus Objective-C on an iOS simulator. The latter will only work on a Mac with Xcode.
## Generate a standalone jar
The `djinni_jar` target of the main `Makefile` creates a standalone `.jar`.
This uses the [sbt assembly plugin](https://github.com/sbt/sbt-assembly) under the hoods.
Simply call this target from the root directory:
```shell
make djinni_jar
```
This will produce a `.jar` file inside the `src/target/scala_<SCALA_VERSION>/djinni-assembly-<VERSION>.jar`.
You can move and use it as any other executable `.jar`.
Assuming the `.jar` is located at `$DJINNI_JAR_DIR` its version equals `0.1-SNAPSHOT`: