Skip to content

Commit

Permalink
Reimplenment examples using the new generator.
Browse files Browse the repository at this point in the history
Related to #76.
  • Loading branch information
Monnoroch committed Jul 28, 2018
1 parent c4f74db commit 2bb7f89
Show file tree
Hide file tree
Showing 5 changed files with 270 additions and 494 deletions.
2 changes: 1 addition & 1 deletion ci/test.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
set -e

cargo test --verbose --features libjvm
(cd examples/java-lib && ./test.sh)

if [[ ${TRAVIS_RUST_VERSION} == "nightly" ]]; then
(cd examples/java-lib && ./test.sh)
(cd generator && cargo test --verbose)
fi
34 changes: 34 additions & 0 deletions examples/java-lib/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions examples/java-lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ authors = ["Monnoroch <[email protected]>"]
[dependencies]
jni-sys = "0.3.0"
rust-jni = { path = "../../../rust-jni" }
rust-jni-generator = { path = "../../../rust-jni/generator" }

[build-dependencies]
walkdir = "2"
Expand Down
34 changes: 34 additions & 0 deletions examples/java-lib/dylib/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2bb7f89

Please sign in to comment.