diff --git a/.gitignore b/.gitignore index 16df9a2f73ed9f668ad8af412bb00b56b016bc88..339ab45617cb48c6931ba54dd8c0237cd4604776 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -/target +target/ *.csv arpist diff --git a/justfile b/justfile new file mode 100644 index 0000000000000000000000000000000000000000..7522b849a21a9a58efbf7e67a60aedb7f77973f3 --- /dev/null +++ b/justfile @@ -0,0 +1,19 @@ +export RUST_LOG := "debug" + +alias db := device-build +alias hb := host-build + +default: + ./arpist gemini.csv + +host-build: + #!/bin/bash + cd on-host + cargo build --release + cp target/release/arpist .. + +device-build: + #!/bin/bash + cd ../../skyward-boardcore + # ./sbs -df mavlink-arpist + ./sbs -df sx1278fsk-s-mav-raw diff --git a/Cargo.lock b/on-host/Cargo.lock similarity index 100% rename from Cargo.lock rename to on-host/Cargo.lock diff --git a/Cargo.toml b/on-host/Cargo.toml similarity index 100% rename from Cargo.toml rename to on-host/Cargo.toml diff --git a/src/main.rs b/on-host/src/main.rs similarity index 100% rename from src/main.rs rename to on-host/src/main.rs diff --git a/src/packet.rs b/on-host/src/packet.rs similarity index 100% rename from src/packet.rs rename to on-host/src/packet.rs diff --git a/src/utils.rs b/on-host/src/utils.rs similarity index 100% rename from src/utils.rs rename to on-host/src/utils.rs