summaryrefslogtreecommitdiff
path: root/gen/constants.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-03-17 14:47:25 +0800
committer魏曹先生 <1992414357@qq.com>2026-03-17 14:47:25 +0800
commit92670ec92b555383fc31cf42b15d4ea38f8e9c8f (patch)
treeb2f1479247411027fb41b346d2195e79e38729a1 /gen/constants.rs
parent7fcc38d0e76fc4088269cd3ea22c56a60e5db109 (diff)
Extract build-time generation code into separate crate
Diffstat (limited to 'gen/constants.rs')
-rw-r--r--gen/constants.rs36
1 files changed, 0 insertions, 36 deletions
diff --git a/gen/constants.rs b/gen/constants.rs
deleted file mode 100644
index 140743d..0000000
--- a/gen/constants.rs
+++ /dev/null
@@ -1,36 +0,0 @@
-pub const COMMANDS_PATH: &str = "./src/cmds/cmd/";
-pub const COMPLETIONS_PATH: &str = "./src/cmds/comp/";
-pub const RENDERERS_PATH: &str = "./src/cmds/renderer/";
-
-pub const COMPILE_INFO_RS_TEMPLATE: &str = "./templates/compile_info.rs.template";
-pub const COMPILE_INFO_RS: &str = "./src/data/compile_info.rs";
-
-pub const SETUP_JV_CLI_ISS_TEMPLATE: &str = "./templates/setup_jv_cli.iss.template";
-pub const SETUP_JV_CLI_ISS: &str = "./scripts/setup/windows/setup_jv_cli.iss";
-
-pub const COMMAND_LIST_TEMPLATE: &str = "./templates/_commands.rs.template";
-pub const COMMAND_LIST: &str = "./src/systems/cmd/_commands.rs";
-
-pub const COMPLETIONS_TEMPLATE: &str = "./templates/_comps.rs.template";
-pub const COMPLETIONS: &str = "./src/systems/comp/_comps.rs";
-
-pub const OVERRIDE_RENDERER_DISPATCHER_TEMPLATE: &str =
- "./templates/_override_renderer_dispatcher.rs.template";
-pub const OVERRIDE_RENDERER_DISPATCHER: &str =
- "./src/systems/render/_override_renderer_dispatcher.rs";
-
-pub const OVERRIDE_RENDERER_ENTRY_TEMPLATE: &str =
- "./templates/_override_renderer_entry.rs.template";
-pub const OVERRIDE_RENDERER_ENTRY: &str = "./src/systems/render/_override_renderer_entry.rs";
-
-pub const OVERRIDE_RENDERERS_TEMPLATE: &str = "./templates/_override_renderers.rs.template";
-pub const OVERRIDE_RENDERERS: &str = "./src/systems/render/_override_renderers.rs";
-
-pub const SPECIFIC_RENDERER_MATCHING_TEMPLATE: &str =
- "./templates/_specific_renderer_matching.rs.template";
-pub const SPECIFIC_RENDERER_MATCHING: &str = "./src/systems/render/_specific_renderer_matching.rs";
-
-pub const REGISTRY_TOML: &str = "./.cargo/registry.toml";
-
-pub const TEMPLATE_START: &str = "// -- TEMPLATE START --";
-pub const TEMPLATE_END: &str = "// -- TEMPLATE END --";