mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-27 11:37:02 -06:00
refactor(engine): move commands/ to cmd/, keeping commands as an alias
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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)> {
|
||||
|
||||
Reference in New Issue
Block a user