This commit is contained in:
Anthony Cicchetti 2023-12-01 16:32:53 -05:00
parent 1049feb012
commit e6f5ad7462
5 changed files with 16 additions and 0 deletions

View file

@ -3,3 +3,19 @@ tasks:
- test: | - test: |
cd advent_of_code_2023 cd advent_of_code_2023
nix --extra-experimental-features 'nix-command flakes' flake check nix --extra-experimental-features 'nix-command flakes' flake check
- build: |
cd advent_of_code_2023
nix --extra-experimental-features 'nix-command flakes' build
- run_aoc: |
cd advent_of_code_2023
for identity in anthonycicc acicchetti-jf; do
for day in one; do
for part in one two; do
path="inputs/${identity}/day_${day}/${part}.txt"
if [[ -f "$path" ]]; then
echo "$identity - $day - $part"
nix --extra-experimental-features 'nix-command flakes' run '.' -- -d $day -p $part -f "$path"
fi
done
done
done