Generate webui artifacts as part of build process
This commit is contained in:
parent
14aa4a2f11
commit
6d2c32fb48
1 changed files with 21 additions and 18 deletions
|
|
@ -2,6 +2,8 @@ use std::path::Path;
|
|||
use std::process::Command;
|
||||
|
||||
fn main() {
|
||||
#[cfg(feature = "webui")]
|
||||
{
|
||||
let webui_dir = Path::new("webui");
|
||||
let webui_src_dir = webui_dir.join("src");
|
||||
|
||||
|
|
@ -24,4 +26,5 @@ fn main() {
|
|||
|
||||
// Optionally print the stdout output if you want to see the build logs
|
||||
println!("{}", String::from_utf8_lossy(&output.stdout));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue