fix: adjust skip build typo

This commit is contained in:
drbh 2024-05-21 21:56:29 +00:00
parent 814e07dffe
commit 7765aa6ecd
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
println!("cargo:rerun-if-changed=../../proto/generate.proto");
// conditionally compile proto files (avoid when bundling python package)
let skip_build = std::env::var("SKIP_BUILD").is_ok();
if skip_build {
if !skip_build {
fs::create_dir("src/pb").unwrap_or(());
let mut config = prost_build::Config::new();