From d19e5d84ee21502fd3440511d4ffb1ee1f49d3b2 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Wed, 4 Feb 2026 00:27:16 +0800 Subject: Refactor build system and implement complete renderer system - Split monolithic build.rs into modular async generators - Add renderer override system with type-safe dispatch - Implement command template macro for consistent command definitions - Add proc-macro crates for command and renderer systems - Reorganize directory structure for better separation of concerns - Update documentation to reflect new architecture --- templates/_registry.rs.template | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 templates/_registry.rs.template (limited to 'templates/_registry.rs.template') diff --git a/templates/_registry.rs.template b/templates/_registry.rs.template deleted file mode 100644 index 957484c..0000000 --- a/templates/_registry.rs.template +++ /dev/null @@ -1,33 +0,0 @@ -// Auto generated by build.rs -use crate::systems::cmd::cmd_system::{JVCommand, JVCommandContext}; -use crate::systems::cmd::errors::CmdProcessError; -<> -/// Input parameters, execute a command node -pub async fn jv_cmd_process_node( - node: &str, - args: Vec, - ctx: JVCommandContext, - renderer_override: String -) -> Result { - match node { -// PROCESS -// -- TEMPLATE START -- - // Command `<>` - "<>" => { - return crate::<>::process_with_renderer_flag( - args, - ctx, - renderer_override - ) - .await; - } -// -- TEMPLATE END -- - _ => {} - } - return Err(CmdProcessError::NoNodeFound(node.to_string())); -} -<> -/// Get all command nodes -pub fn jv_cmd_nodes() -> Vec { - vec!<> -} -- cgit