0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-10-31 19:38:46 -04:00

🚨 chore: make clippy linter happy (#359)

This commit is contained in:
neon_arch 2023-10-30 19:44:28 +03:00
parent bca2ba17b9
commit 41c57bd070

View File

@ -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