From 32ee3596042cc4e723afd30b87298a13feef7c24 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Fri, 7 Aug 2026 12:52:46 +0800 Subject: chore: move CLI entry to bin and restructure imports Move the CLI binary from `src/main.rs` to `src/bin/cli.rs` and move shared program generation into a new lib.rs module. --- mingling_cli/src/lib.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 mingling_cli/src/lib.rs (limited to 'mingling_cli/src/lib.rs') diff --git a/mingling_cli/src/lib.rs b/mingling_cli/src/lib.rs new file mode 100644 index 0000000..8b25612 --- /dev/null +++ b/mingling_cli/src/lib.rs @@ -0,0 +1,13 @@ +use mingling::macros::gen_program; + +pub mod diagnostic; +pub mod errors; +pub mod linter; +pub mod lints; +pub mod message; +pub mod metadata; +pub mod pkg_mgr; +pub mod proj_mgr; +pub mod utils; + +gen_program!(); -- cgit