first commit

This commit is contained in:
Romulus21
2024-08-14 16:45:59 +02:00
parent 4979e8d48b
commit 1be9158c43
2 changed files with 3 additions and 0 deletions

2
Makefile Normal file
View File

@@ -0,0 +1,2 @@
deploy:
cargo build --release --target=armv7-unknown-linux-gnueabihf

View File

@@ -60,6 +60,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
if args.len() >= 2 { if args.len() >= 2 {
date = NaiveDate::parse_from_str(&args[1], "%Y-%m-%d").unwrap(); date = NaiveDate::parse_from_str(&args[1], "%Y-%m-%d").unwrap();
} }
dbg!(args);
let _ = aggregate_values(&mut conn, date); let _ = aggregate_values(&mut conn, date);