Skip to content

Commit

Permalink
build: reapply DOC.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
nmammeri committed Sep 11, 2024
1 parent 31ac731 commit d51d49f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extractous-core/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use std::process::Command;

fn main() {
// Don't run the build script when building docs
//if env::var("DOCS_RS").is_ok() {
if env::var("DOCS_RS").is_ok() {
// Set tika_native source directory and python bindings directory
let root_dir = env::var("CARGO_MANIFEST_DIR").map(PathBuf::from).unwrap();
let tika_native_source_dir = root_dir.join("tika-native");
Expand Down Expand Up @@ -57,7 +57,7 @@ fn main() {

// Tell cargo to tell rustc to link the `tika_native` shared library.
println!("cargo:rustc-link-lib=dylib=tika_native");
//}
}
}

// Run the gradle build command to build tika-native
Expand Down

0 comments on commit d51d49f

Please sign in to comment.