Skip to content

Commit

Permalink
Fix verify
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <[email protected]>
  • Loading branch information
Xuanwo committed Jun 18, 2024
1 parent 1bb816c commit 513621d
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions scripts/verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,16 +139,18 @@ def build_java_binding(dir):
check_license(dir)
check_notice(dir)

if check_rust():
build_core(dir)
else:
print(
"Cargo is not found, please check if rust development has been setup correctly"
)
print("Visit https://www.rust-lang.org/tools/install for more information")
sys.exit(1)

if check_java():
build_java_binding(dir)
else:
print("Java is not found, skipped building java binding")
if "core" in dir.name:
if check_rust():
build_core(dir)
else:
print(
"Cargo is not found, please check if rust development has been setup correctly"
)
print("Visit https://www.rust-lang.org/tools/install for more information")
sys.exit(1)

if "java" in dir.name:
if check_java():
build_java_binding(dir)
else:
print("Java is not found, skipped building java binding")

0 comments on commit 513621d

Please sign in to comment.