Skip to content

Commit

Permalink
fix: build-release-linux.sh (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioPinheiro authored Dec 19, 2023
1 parent dee5e59 commit bd975a9
Show file tree
Hide file tree
Showing 3 changed files with 202 additions and 202 deletions.
4 changes: 2 additions & 2 deletions uniffi/build-release-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ cargo build --release --target x86_64-unknown-linux-gnu
cargo run --bin uniffi-bindgen generate src/anoncreds.udl --language kotlin -o ./wrappers/kotlin/anoncreds

# Move code to output-frameworks/anoncreds-jvm
rm -f ./output-frameworks/anoncreds-jvm/src/main/uniffi/anoncreds/anoncreds.kt
mv ./wrappers/kotlin/anoncreds/uniffi/anoncreds/anoncreds.kt ./output-frameworks/anoncreds-jvm/src/main/uniffi/anoncreds/anoncreds.kt
rm -f ./output-frameworks/anoncreds-jvm/src/main/uniffi/anoncreds_wrapper/anoncreds_wrapper.kt
mv ./wrappers/kotlin/anoncreds/uniffi/anoncreds_wrapper/anoncreds_wrapper.kt ./output-frameworks/anoncreds-jvm/src/main/uniffi/anoncreds_wrapper/anoncreds_wrapper.kt

# make the jar
cd ./output-frameworks/anoncreds-jvm
Expand Down
2 changes: 1 addition & 1 deletion uniffi/output-frameworks/anoncreds-jvm/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies {
sourceSets {
main {
java {
srcDir("src/main/uniffi/anoncreds")
srcDir("src/main/uniffi/anoncreds_wrapper")
}
}
}
Expand Down
Loading

0 comments on commit bd975a9

Please sign in to comment.