From 41c57bd07024ce7377db57db8e0cbd6619d1a6ab Mon Sep 17 00:00:00 2001 From: neon_arch Date: Mon, 30 Oct 2023 19:44:28 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20chore:=20make=20clippy=20linter?= =?UTF-8?q?=20happy=20(#359)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.rs b/build.rs index 26ff500..ca8c976 100644 --- a/build.rs +++ b/build.rs @@ -14,9 +14,14 @@ use std::{ }; // ------- Constants ------- +/// A constant for the path to the public/theme folder in the codebase. const COMMON_STATIC_SOURCE_CODE_FOLDER: &str = "./public/static/"; +/// A constant for the names of the folders located in the "/public/static/" +/// folder in the codebase which contains the css files to be minified. const STYLE_FOLDERS: [&str; 2] = ["themes", "colorschemes"]; +/// A constant for the environment variable name. const PACKAGE_ENVIRONMENT_VARIABLE: &str = "PKG_ENV"; +/// A constant for the `prod` value of the `pkg_env` environment variable. const PRODUCTION_PKG_ENV_VARIABLE_VALUE: &str = "prod"; /// A main function which minifies both css and js files using `lightningcss` and `minify_js` when