Skip to content

Commit

Permalink
Prep for PR
Browse files Browse the repository at this point in the history
  • Loading branch information
KendallWeihe committed Jul 25, 2024
1 parent a36d75d commit a528bd0
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ Cargo.lock
build/
.gradle/
**/.idea/

bound/kt/src/main/resources/*.dylib
bound/kt/src/main/resources/*.so
14 changes: 14 additions & 0 deletions bound/kt/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Getting Started

## Build Shared Library

> [!WARNING]
>
> The shared library is places inside of `src/main/resources/` and is **not** committed to the git repository (see `.gitignore`), and so therefore in order to develop with this project, you must generate the binding using the following command.
>
> Currently, the `Justfile` assumes the developer machine is *macOS running on Apple Silicon*, though additional support is forthcoming.
```shell
(cd ../../ && just bind)
```

2 changes: 1 addition & 1 deletion bound/kt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>tbdex.sdk</groupId>
<artifactId>tbdex-core</artifactId>
<version>0.0.5</version>
<version>0.0.6</version>
<packaging>jar</packaging>

<distributionManagement>
Expand Down
6 changes: 0 additions & 6 deletions bound/kt/src/main/kotlin/tbdex/sdk/rust/UniFFI.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1722,12 +1722,6 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
if (lib.uniffi_tbdex_uniffi_checksum_method_errorresponsebody_to_json_string() != 16077.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_tbdex_uniffi_checksum_method_errorresponsebody_get_data() != 51222.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_tbdex_uniffi_checksum_method_errorresponsebody_to_json_string() != 16077.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
if (lib.uniffi_tbdex_uniffi_checksum_method_getbalancesresponsebody_get_data() != 50368.toShort()) {
throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")
}
Expand Down

0 comments on commit a528bd0

Please sign in to comment.