Commit Graph

33 Commits

Author SHA1 Message Date
Nico da65cb7fb8 day 6 was easy 2022-12-06 18:11:38 +00:00
Nico d0e1935855 day 5 part 2 was meh 2022-12-05 21:35:44 +00:00
Nico 57fd3d6b91 day 5 part 1. Mostly parsing, quite unfun 2022-12-05 20:57:52 +00:00
Nico 6a082267e4 add day 4 (it was easy) 2022-12-04 18:30:12 +00:00
Nico 7595d1de37 add day 3 2022-12-04 16:31:25 +00:00
Nico 86f89c286d add day 2 solution 2022-12-02 18:49:48 +00:00
Nico 10c082a4cf fix day 1 tests 2022-12-02 18:49:38 +00:00
Nico f0c8fb82b8 Simplify part 1 2022-12-01 15:19:34 +00:00
Nico 1531239f20 day 1 solved 2022-12-01 15:13:03 +00:00
Felix Spöttel d0b923f727
fix: rename package to `advent_of_code` (#13)
`aoc` shadowed the `aoc-cli` binary which could lead to issues.

closes #12
2022-11-29 20:17:00 +01:00
Felix Spöttel 7d663f1407 fix: compatibility with aoc-cli@^0.5.0
closes #11
2022-11-29 14:08:49 +01:00
Felix Spöttel ffc7cdb4ce chore: run cargo fmt 2022-11-25 16:30:15 +01:00
Felix Spöttel c4507b6db8 fix: update scaffold command output 2022-11-25 14:25:02 +01:00
Felix Spöttel 8daca41984 fix: clippy warning in 1.65.0 2022-11-25 13:18:24 +00:00
Felix Spöttel 132fb662de
fix: compatibility with aoc-cli^0.4.0 (#7)
Co-authored-by: Peter Anning <22272449+peteanning@users.noreply.github.com>
2022-11-06 21:23:46 +01:00
Felix Spöttel e45e930602 feat: clearly mark template code 2022-10-29 17:25:11 +02:00
Felix Spöttel e327f00aa8 fix: fix clippy lint 2022-10-29 17:21:54 +02:00
Felix Spöttel aae6a8f029 chore: golf solution template 2022-10-29 17:17:42 +02:00
Felix Spöttel ec5859083a feat: return option from solution parts
this allows to print _not solved_ for solution parts that haven't been solved yet.

adjust `solve` macro to handle one solution part rather than both.
this allows for easier debugging of real input.
2022-10-29 17:04:13 +02:00
Felix Spöttel 5c84286d9e feat: add `-y`flag alias for download command 2022-10-29 14:36:26 +02:00
Felix Spöttel 1d991f7aab docs: add common pitfalls section 2022-10-29 14:32:33 +02:00
Felix Spöttel 30670f33fb fix: add missing line breaks to scaffold template 2022-10-24 13:05:44 +02:00
Felix Spöttel bd97e34f66 feat: add shorthands for running solutions 2022-10-18 11:26:56 +02:00
Felix Spöttel 6613b6bfce fix: correct file names in scaffold 2022-10-17 18:44:08 +02:00
Felix Spöttel afa39070de fix: better error messages in download script 2022-10-17 15:18:32 +02:00
Felix Spöttel 49123f790a feat: implement bash scripts in rust
enables cross-platform support, closes #1.

scaffold scripts adapted from code on @steventhorne's fork, thx!
2022-10-17 14:43:04 +02:00
Felix Spöttel 00407542e4 feat: add helpers module 2022-10-17 11:19:08 +02:00
Felix Spöttel 37b2027a99 fix: replace git.io links 2022-04-26 09:11:57 +02:00
Felix Spöttel fc9f90c9c2 fix: handle ANSI escapes when counting exec. time 2021-12-31 13:05:23 +01:00
Felix Spöttel 01f0749c9c docs: clarify timings 2021-12-30 12:00:14 +01:00
Felix Spöttel 8441cb2fde feat: add `total` timing 2021-12-29 19:46:04 +01:00
Felix Spöttel 681c03ad89 feat: use `cargo --bin` instead of solutions crate 2021-12-29 19:45:58 +01:00
Felix Spöttel 4449f5bc94 initial commit 2021-12-29 14:12:01 +01:00