recipes/backend/build.rs

11 lines
No EOL
290 B
Rust

use std::process::Command;
fn main() {
println!("cargo:rerun-if-changed=style.scss");
Command::new("sass")
.arg("./style.scss")
.arg("./static/style.css")
.output()
.expect("Unable to compile SASS file, install SASS, see https://sass-lang.com/");
}