blob: d0c4cbf1903890171ec750ea8152167d68070f3e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
use crate::ThisProgram;
use mingling::{
Program,
macros::{dispatcher, program_setup},
};
mod generator;
pub use generator::*;
pub mod metadata;
mod checklist_reader;
pub use checklist_reader::*;
mod show_binaries;
pub use show_binaries::*;
mod show_directories;
pub use show_directories::*;
dispatcher!("gen", CMDGenerateProject => EntryGenerateProject);
dispatcher!("show.binaries");
dispatcher!("show.workspace-dir",
CMDShowWorkspaceDirectory => EntryShowWorkspaceDirectory
);
dispatcher!("show.target-dir",
CMDShowTargetDirectories => EntryShowTargetDirectories
);
#[program_setup]
pub fn project_manager_setup(p: &mut Program<ThisProgram>) {
p.with_dispatcher(CMDGenerateProject);
p.with_dispatcher(CMDShowBinaries);
p.with_dispatcher(CMDShowWorkspaceDirectory);
p.with_dispatcher(CMDShowTargetDirectories);
}
|