You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps I'm a newbie, but how do you build / use this template?
Your Readme is not much help to me. :(
I've stumbled around with cargo build and have populated the src directory with empty solutions, but I don't know what to do next, or how to use the .ENV file.
The text was updated successfully, but these errors were encountered:
Do an initial build with the AOC_YEAR and AOC_SESSION environment variables set.
After this you can delete build.rs.
Write your code in the generated files in src/solutions/day$i.rs.
Run cargo run -- init <day> to download your input.
Run cargo run -- run <day> [--part <part>] [--extra arg1 arg2 arg3] [--input path/to/input]
In case you don't know, the part in [] is optional. Skipping --part will run both part 1 and part 2. Skipping --extra will give an empty Vec<T> of extra args. Skipping --input will look for the download input. Do note that input is not downloaded automatically and you need to run step 3.
Perhaps I'm a newbie, but how do you build / use this template?
Your Readme is not much help to me. :(
I've stumbled around with cargo build and have populated the src directory with empty solutions, but I don't know what to do next, or how to use the .ENV file.
The text was updated successfully, but these errors were encountered: