diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6da593b --- /dev/null +++ b/Makefile @@ -0,0 +1,2 @@ +deploy: + cargo build --release --target=armv7-unknown-linux-gnueabihf \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index e8bd49b..cdf8190 100644 --- a/src/main.rs +++ b/src/main.rs @@ -60,6 +60,7 @@ fn main() -> Result<(), Box> { if args.len() >= 2 { date = NaiveDate::parse_from_str(&args[1], "%Y-%m-%d").unwrap(); } + dbg!(args); let _ = aggregate_values(&mut conn, date);