Skip to content

Commit

Permalink
add auto copy logic
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Jun 25, 2024
1 parent bbf05ea commit 4b05bd4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bindings_ffi/gen_kotlin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ bindings_ffi/target/release/ffi-uniffi-bindgen generate \
popd > /dev/null
make libxmtp-version
cp libxmtp-version.txt src/uniffi/$PROJECT_NAME/

# Assumes libxmtp is in a peer directory of xmtp-android
cp src/uniffi/xmtpv3/xmtpv3.kt ../../xmtp-android/library/src/main/java/xmtpv3.kt
cp src/uniffi/xmtpv3/libxmtp-version.txt ../../xmtp-android/library/src/main/java/libxmtp-version.txt

0 comments on commit 4b05bd4

Please sign in to comment.