use std::process::Command; const INPUT_CSS_PATH: &str = "./templates/input.css"; const OUTPUT_CSS_PATH: &str = "./static/css/main.css"; fn main() { run_tailwind(); } fn run_tailwind() { Command::new("tailwindcss") .args([ "-i", INPUT_CSS_PATH, "-o", OUTPUT_CSS_PATH, "--minify", ]) .spawn() .expect("Couldn't run tailwindcss, please run it manually"); }