improve building and releasing docs

This commit is contained in:
adbenitez
2025-11-22 22:43:21 +01:00
parent 718bf0d74b
commit ec49ac8eb6
3 changed files with 25 additions and 15 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
# you need to have dcrpcgen
# generate schema.json
ROOT_DIR=$PWD
cd ./jni/deltachat-core-rust/deltachat-rpc-server
cargo run -- --openrpc > "$ROOT_DIR/schema.json"
cd "$ROOT_DIR"
# generate code
dcrpcgen java --schema schema.json -o ./src/main/java/