setup cargo run to use containerized build tools that are not rust tools
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use std::process::Command;
|
||||
use std::{collections::VecDeque, env, process::Command};
|
||||
|
||||
use vergen::EmitBuilder;
|
||||
|
||||
@@ -50,6 +50,9 @@ fn linker_be_nice() {
|
||||
}
|
||||
|
||||
fn main() {
|
||||
if Command::new("podman").arg("--version").output().is_err() {
|
||||
println!("Could not find `podman` installation, assuming the developer has setup all required tool for build manually! … ")
|
||||
}
|
||||
webpack();
|
||||
linker_be_nice();
|
||||
let _ = EmitBuilder::builder().all_git().all_build().emit();
|
||||
|
Reference in New Issue
Block a user