Skip to content

Commit

Permalink
fix: update relative cargo.toml path (#174)
Browse files Browse the repository at this point in the history
* fix: update relative cargo.toml path

* fix: update examples
  • Loading branch information
diogomatsubara authored Jan 15, 2025
1 parent 7b2bbfa commit 1fb31b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ tasks {

tasks.register("CompileZenohJNI") {
project.exec {
commandLine("cargo", "build", "--release", "--manifest-path", "../zenoh-jni/Cargo.toml")
commandLine("cargo", "build", "--release", "--manifest-path", "./zenoh-jni/Cargo.toml")
}
}
2 changes: 1 addition & 1 deletion zenoh-java/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ fun buildZenohJNI(mode: BuildMode = BuildMode.DEBUG) {
}

val result = project.exec {
commandLine(*(cargoCommand.toTypedArray()), "--manifest-path", "../zenoh-jni/Cargo.toml")
commandLine(*(cargoCommand.toTypedArray()), "--manifest-path", "./zenoh-jni/Cargo.toml")
}

if (result.exitValue != 0) {
Expand Down

0 comments on commit 1fb31b4

Please sign in to comment.