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