Skip to content

Commit

Permalink
More polishing (make sure the arduino specific code is pushed down (i…
Browse files Browse the repository at this point in the history
…nto the manufacturing crate/module).
  • Loading branch information
sidd.gupta committed Sep 20, 2023
1 parent b8becd4 commit c687e5a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "navigatyr"
version = "0.4.0"
version = "0.4.1"
edition = "2021"
authors = ["Sidd Gupta"]

Expand Down
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
}
TyrCommands::Manufacture { command } => {
debug!("Manufacturing subcommand {:?}", command);
tyr_arduino::check_arduino_cli_install()?;
tyr_mfr::handle_manufacture_commands(command, config)?;
}
}
Expand Down
2 changes: 2 additions & 0 deletions src/tyr_arduino.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ fn test_get_cpp_extra_flags_device_id_mismatch() {
}

pub fn compile(device_id: &str) -> Result<(), Error> {
check_arduino_cli_install()?;

let mut image_path = PathBuf::from(&tyr_config::get_arduino_device_path().unwrap());

debug!(
Expand Down

0 comments on commit c687e5a

Please sign in to comment.