adjust and fix names
This commit is contained in:
parent
3726dc989b
commit
0eb39f116a
@ -77,12 +77,12 @@ fn main() {
|
||||
|
||||
match cli.command {
|
||||
Some(Commands::Run { cart }) => {
|
||||
dispatch(&exe_dir, "prometeu-runtime-desktop", &["--run", &cart]);
|
||||
dispatch(&exe_dir, "prometeu-runtime", &["--run", &cart]);
|
||||
}
|
||||
Some(Commands::Debug { cart, port }) => {
|
||||
dispatch(
|
||||
&exe_dir,
|
||||
"prometeu-runtime-desktop",
|
||||
"prometeu-runtime",
|
||||
&["--debug", &cart, "--port", &port.to_string()],
|
||||
);
|
||||
}
|
||||
@ -117,13 +117,13 @@ fn dispatch(exe_dir: &Path, bin_name: &str, args: &[&str]) {
|
||||
|
||||
if !bin_path.exists() {
|
||||
eprintln!(
|
||||
"prometeu: command '{}' is not yet available in this distribution",
|
||||
"prometeu: command '{}' is not yet available in this distribution on {}",
|
||||
match bin_name {
|
||||
"prometeu-runtime-desktop" => "run/debug",
|
||||
"prometeuc" => "build/verify c",
|
||||
"prometeup" => "pack/verify p",
|
||||
_ => bin_name,
|
||||
}
|
||||
}, exe_dir.display()
|
||||
);
|
||||
std::process::exit(1);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user