fix: download input to data/ folder
This commit is contained in:
parent
0000038042
commit
0000039097
|
@ -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",
|
||||
|
|
|
@ -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č <janezic.mj@gmail.com>"]
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue