Skip to content

Commit

Permalink
fix: build-release-linux.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioPinheiro committed Dec 19, 2023
1 parent 467e4d0 commit 07c0fa1
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 07c0fa1

Please sign in to comment.