mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
perform codegen during tauri-build::build
This commit is contained in:
@@ -484,6 +484,14 @@ dependencies {"
|
||||
}
|
||||
}
|
||||
|
||||
let mut codegen = CodegenContext::new();
|
||||
|
||||
if !has_feature("custom-protocol") {
|
||||
codegen = codegen.dev();
|
||||
}
|
||||
|
||||
codegen.build();
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user