From 00000390f29dac2c544898811225026021d43275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Thu, 23 Nov 2023 00:14:04 +0100 Subject: [PATCH] fix: download input to data/ folder --- Cargo.lock | 6 +++--- Cargo.toml | 2 +- utils/download/src/main.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4b0bf9b..f061ff7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -19,7 +19,7 @@ checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" [[package]] name = "aoc" -version = "38.0.0" +version = "39.0.0" dependencies = [ "itertools", ] @@ -105,7 +105,7 @@ checksum = "03d8c417d7a8cb362e0c37e5d815f5eb7c37f79ff93707329d5a194e42e54ca0" [[package]] name = "download" -version = "38.0.0" +version = "39.0.0" dependencies = [ "dotenvy", "pico-args", @@ -643,7 +643,7 @@ checksum = "7b4b9743ed687d4b4bcedf9ff5eaa7398495ae14e61cba0a295704edbc7decde" [[package]] name = "scaffold" -version = "38.0.0" +version = "39.0.0" dependencies = [ "dotenvy", "pico-args", diff --git a/Cargo.toml b/Cargo.toml index 7e91b73..e16d79d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ members = ["utils/download", "utils/scaffold"] [workspace.package] description = "template for advent of code" readme = "README.md" -version = "38.0.0" +version = "39.0.0" edition = "2021" license = "MIT" authors = ["Matej Janežič "] diff --git a/utils/download/src/main.rs b/utils/download/src/main.rs index 8de321f..371e5ec 100644 --- a/utils/download/src/main.rs +++ b/utils/download/src/main.rs @@ -39,7 +39,7 @@ fn main() { .text() .unwrap(); - let input_path = format!("src/inputs/{day_padded}.txt"); + let input_path = format!("data/inputs/{day_padded}.txt"); let mut file = match OpenOptions::new() .write(true) .create(true)