diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-01-23 03:18:53 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-01-23 03:18:53 +0800 |
| commit | 5b5e3b2b9375fea3e47c28c2a4d47ef4fe349cd5 (patch) | |
| tree | 8ce34729fda126e6a06ca881911e19a2c429441c /build.rs | |
| parent | 9880a6409e8eed4e1210406603d8aff65fac6a0c (diff) | |
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
Diffstat (limited to 'build.rs')
| -rw-r--r-- | build.rs | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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"; |
