ba5da7efc0be95a6abfc02e2ff63202a89aefcab
2 Additionnal build, doc: https://doc.rust-lang.org/cargo/reference/build-scripts.html
5 - Compile the SASS file to CSS file.
8 use std
::process
::Command
;
11 println!("cargo:rerun-if-changed=style.scss");
16 .arg("./static/style.css")
18 .expect("Unable to compile SASS file, install SASS, see https://sass-lang.com/");
20 if !output
.status
.success() {
21 //panic!("Unable to compile SASS file, install SASS, see https://sass-lang.com/")
22 let error
= std
::fs
::read_to_string("./static/style.css").expect("unable to read style.css");