quality baseline
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
pub mod audio;
|
||||
pub mod runner;
|
||||
pub mod fs_backend;
|
||||
pub mod log_sink;
|
||||
pub mod debugger;
|
||||
pub mod stats;
|
||||
pub mod input;
|
||||
pub mod cap;
|
||||
pub mod debugger;
|
||||
pub mod fs_backend;
|
||||
pub mod input;
|
||||
pub mod log_sink;
|
||||
pub mod runner;
|
||||
pub mod stats;
|
||||
pub mod utilities;
|
||||
|
||||
use cap::load_cap_config;
|
||||
@@ -45,17 +45,9 @@ pub fn run() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let cap_config = cli.cap.as_ref().and_then(|path| load_cap_config(path));
|
||||
|
||||
let boot_target = if let Some(path) = cli.debug {
|
||||
BootTarget::Cartridge {
|
||||
path,
|
||||
debug: true,
|
||||
debug_port: cli.port,
|
||||
}
|
||||
BootTarget::Cartridge { path, debug: true, debug_port: cli.port }
|
||||
} else if let Some(path) = cli.run {
|
||||
BootTarget::Cartridge {
|
||||
path,
|
||||
debug: false,
|
||||
debug_port: 7777,
|
||||
}
|
||||
BootTarget::Cartridge { path, debug: false, debug_port: 7777 }
|
||||
} else {
|
||||
BootTarget::Hub
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user