diff --git a/build.rs b/build.rs index d8db299..93d4fb2 100644 --- a/build.rs +++ b/build.rs @@ -9,4 +9,8 @@ fn main() { .compile("libc_code.a"); println!("cargo:rerun-if-changed=src/log.c"); } + + if !std::fs::exists("webui/index.html").unwrap_or(false) { + panic!("Could not compile crate! Missing webui! Did you pull submodules?"); + } }