Change the default font + other little things
[recipes.git] / backend / build.rs
diff --git a/backend/build.rs b/backend/build.rs
new file mode 100644 (file)
index 0000000..c5f9e2e
--- /dev/null
@@ -0,0 +1,11 @@
+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/");
+}
\ No newline at end of file