From e84ca11eab6636904a42636455ea2cbe239fd1f4 Mon Sep 17 00:00:00 2001 From: Bao Trinh Date: Thu, 20 Jul 2023 19:14:15 -0500 Subject: use grass include macro; remove build.rs --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 33b0699..851f9ab 100644 --- a/src/main.rs +++ b/src/main.rs @@ -28,7 +28,7 @@ mod renderer; use crate::config::MiniserveConfig; use crate::errors::ContextualError; -static STYLESHEET: &str = include_str!(concat!(env!("OUT_DIR"), "/style.css")); +static STYLESHEET: &str = grass::include!("data/style.scss"); fn main() -> Result<()> { let args = args::CliArgs::parse(); -- cgit v1.2.3