Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.

Commit

Permalink
chore: update files
Browse files Browse the repository at this point in the history
  • Loading branch information
yamgent committed Dec 1, 2024
1 parent e1b981a commit 621a83a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "aoc_xxxx"
name = "aoc_2024"
version = "0.1.0"
edition = "2021"

Expand Down
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
# advent-of-code-xxxx-rust

1. Clone template
2. Replace all `xxxx` with current year (do not accidentally replace content inside `actual_inputs` folder!)
3. Update the `src/bin/empty/main.rs` `include_str!()` macro to use the correct year.
4. Add `INPUT_REPO_TOKEN` secret with access to `actual_inputs` folder so that CI can access the inputs
* Just "Contents - Read-only" access for the input repo is sufficient
# advent-of-code-2024-rust
2 changes: 1 addition & 1 deletion src/bin/empty/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const ACTUAL_INPUT: &str = include_str!("../../../actual_inputs/2015/01/input.txt");
const ACTUAL_INPUT: &str = include_str!("../../../actual_inputs/2024/01/input.txt");

fn p1(input: &str) -> String {
let _input = input.trim();
Expand Down

0 comments on commit 621a83a

Please sign in to comment.