From 5b5e3b2b9375fea3e47c28c2a4d47ef4fe349cd5 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Fri, 23 Jan 2026 03:18:53 +0800 Subject: Rename generated files with leading underscore - Rename template files to have .template extension - Rename generated source files to start with underscore - Update .gitignore to ignore all files starting with underscore - Update build.rs and deploy.ps1 to reflect new names --- build.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'build.rs') diff --git a/build.rs b/build.rs index c30601d..e0f727b 100644 --- a/build.rs +++ b/build.rs @@ -2,17 +2,17 @@ use std::env; use std::path::PathBuf; use std::process::Command; +const COMPILE_INFO_RS_TEMPLATE: &str = "./templates/compile_info.rs.template"; const COMPILE_INFO_RS: &str = "./src/data/compile_info.rs"; -const COMPILE_INFO_RS_TEMPLATE: &str = "./templates/compile_info.rs"; +const SETUP_JV_CLI_ISS_TEMPLATE: &str = "./templates/setup_jv_cli.iss.template"; const SETUP_JV_CLI_ISS: &str = "./setup/windows/setup_jv_cli.iss"; -const SETUP_JV_CLI_ISS_TEMPLATE: &str = "./templates/setup_jv_cli.iss"; -const REGISTRY_RS: &str = "./src/cmd/cmds/_registry.rs"; const REGISTRY_RS_TEMPLATE: &str = "./templates/_registry.rs.template"; +const REGISTRY_RS: &str = "./src/cmd/cmds/_registry.rs"; -const RENDERER_LIST_TEMPLATE: &str = "./templates/renderer_list.rs.template"; -const RENDERER_LIST: &str = "./src/cmd/renderers/renderer_list.rs"; +const RENDERER_LIST_TEMPLATE: &str = "./templates/_renderers.rs.template"; +const RENDERER_LIST: &str = "./src/cmd/renderers/_renderers.rs"; const REGISTRY_TOML: &str = "./.cargo/registry.toml"; -- cgit