Advent of Code 2019 https://adventofcode.com/2019
  • Rust 88.3%
  • Shell 11.3%
  • Vim Script 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2019-12-10 01:00:31 +01:00
bin Add bin/util.sh git .gitignore 2019-12-09 03:49:55 +01:00
day-01 day-01: Add test 2019-12-07 20:14:57 +01:00
day-02 day-02: Cleanup 2019-12-09 03:11:43 +01:00
day-03 day-03: Nvm, it's still now working correctly... 2019-12-10 01:00:31 +01:00
util Write README, document aoc-util crate's get_input function 2019-12-09 04:10:21 +01:00
.gitignore day-03: impl fmt::Display for Grid 2019-12-09 19:38:48 +01:00
Cargo.lock day-03: Start, parse input 2019-12-09 18:57:27 +01:00
Cargo.toml day-03: Start, parse input 2019-12-09 18:57:27 +01:00
LICENSE Add MIT license 2019-12-09 04:16:17 +01:00
README.md Add MIT license 2019-12-09 04:16:17 +01:00
vimrc Add vimrc 2019-12-07 19:27:36 +01:00

Advent of Code 2019

My solutions for Advent of Code 2019.


Running a day's puzzle

Run a specific day's puzzle using the bin/run script.
The first argument must be the day (ex.: day-01).
Any further arguments are passed to the underlying cargo run command.
Example:

bin/run day-01

Generate a new crate

To generate a new crate for a new day's puzzle, use the bin/new-day script.
The first argument must be the new day (ex.: day-01).
Any further arguments are passed to the underlying cargo new command.
The script will also manipulate the generated Cargo.toml file to set the version
to 0.0.0 and add the aoc-util crate (from ./util/) as a dependency.
The directory and crate name will be derived from the given day name.
Example:

bin/new-day day-99

This will generated a crate with the name aoc2019-day-99 in a new day-99/ directory.


License

MIT License