Skip to content

Commit

Permalink
ci: debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
nmammeri committed Jun 29, 2024
1 parent e6c2194 commit 4159ca7
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions extract-core/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,20 @@ fn main() {
let dist_dir = root_dir.join("target").join(profile).join("deps");

// Rerun this build script if the tika-native build directory changes
println!("cargo:rerun-if-env-changed=JAVA_HOME");
//let tika_build_path = root_dir.join("tika-native/build/native/nativeCompile");
//println!("cargo::rerun-if-changed={}", tika_build_path.display());

// Check that graalvm and gradle are installed
check_graalvm(&target_os);

// Just for debugging
//println!("cargo:warning=gradlew: {}", gradlew);
//println!("cargo:warning=dist_dir: {}", dist_dir.display());
// println!("cargo:warning=out_dir: {}", out_dir.display());
let graal_home = env::var_os("GRAALVM_HOME");
let java_home = env::var("JAVA_HOME");

println!("cargo:warning=GRAALVM_HOME: {:?}", graal_home);
println!("cargo:warning=JAVA_HOME: {:?}", java_home);
println!("cargo:warning=dist_dir: {}", dist_dir.display());
println!("cargo:warning=out_dir: {}", out_dir.display());


gradle_build(&target_os, &tika_native_dir, &out_dir, &dist_dir);
Expand Down

0 comments on commit 4159ca7

Please sign in to comment.