refactor(engine): move commands/ to cmd/, keeping commands as an alias

This commit is contained in:
aiongg
2026-10-26 21:49:10 +00:00
parent 887af7f2c6
commit a3ea645fc6
78 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -12,7 +12,7 @@
pub mod autosave;
pub mod camera_track;
pub mod commands;
pub mod cmd;
pub mod config;
pub mod demo;
pub mod doc_path;
@@ -59,7 +59,8 @@ use effectcraft_time::Tick;
use serde::{Deserialize, Serialize};
use serde_json::Value;
pub use commands::{CommandSpec, command_specs, find as find_command};
pub use cmd as commands;
pub use cmd::{CommandSpec, command_specs, find as find_command};
pub use effectcraft_color as color;
pub use effectcraft_effects as effects;
pub use effectcraft_geom as geom;
+1 -1
View File
@@ -5488,7 +5488,7 @@ mod tests {
// and Fast Previews lists come from the engine as data, so their source strings live here.
("engine settings pages", include_str!("../../../engine/src/prefs.rs")),
("engine viewer channels", include_str!("../../../engine/src/viewer.rs")),
("engine viewer commands", include_str!("../../../engine/src/commands/viewer_cmds.rs")),
("engine viewer commands", include_str!("../../../engine/src/cmd/viewer_cmds.rs")),
];
fn catalogs() -> Vec<(&'static str, &'static str)> {