Skip to content

Commit 33767db

Browse files
committed
Instructions for creating jar file.
1 parent 3cdfc0c commit 33767db

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Java support for libpasta
2+
=========================
3+
4+
This repo produces a self-contained jar file for libpasta.
5+
6+
Steps to produce:
7+
8+
* Sync submodules: `git submodule init && git submodule sync --recursive`
9+
* Using `pasta-bindings` submodule, produce the java libpasta.so file: `cd pasta-bindings && make java && cd ..` (requires Rust).
10+
* Move the appropriate file to the maven directory: `mkdir -p src/main/resources/ && cp -r pasta-bindings/java/META_INF src/main/resources/META-INF`
11+
* Compile the jar: `mvn package`.
12+
13+
The resultant jar file should be in target/libpasta-java-{version}-jar-with-dependencies.jar.

0 commit comments

Comments
 (0)