mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-21 05:38:20 -05:00
🚨 chore: make clippy linter happy (#359)
This commit is contained in:
parent
bca2ba17b9
commit
41c57bd070
5
build.rs
5
build.rs
@ -14,9 +14,14 @@ use std::{
|
|||||||
};
|
};
|
||||||
|
|
||||||
// ------- Constants -------
|
// ------- Constants -------
|
||||||
|
/// A constant for the path to the public/theme folder in the codebase.
|
||||||
const COMMON_STATIC_SOURCE_CODE_FOLDER: &str = "./public/static/";
|
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"];
|
const STYLE_FOLDERS: [&str; 2] = ["themes", "colorschemes"];
|
||||||
|
/// A constant for the environment variable name.
|
||||||
const PACKAGE_ENVIRONMENT_VARIABLE: &str = "PKG_ENV";
|
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";
|
const PRODUCTION_PKG_ENV_VARIABLE_VALUE: &str = "prod";
|
||||||
|
|
||||||
/// A main function which minifies both css and js files using `lightningcss` and `minify_js` when
|
/// A main function which minifies both css and js files using `lightningcss` and `minify_js` when
|
||||||
|
Loading…
Reference in New Issue
Block a user