mirror of
https://github.com/ZeusWPI/Advent-of-Code-Aggregator.git
synced 2024-11-14 12:04:26 +01:00
10 lines
217 B
Bash
Executable file
10 lines
217 B
Bash
Executable file
#!/bin/sh
|
|
day="$(printf '%02d' "$1")"
|
|
part="$2"
|
|
inputfile="../inputs/$day-input"
|
|
|
|
[ -x "prepare" ] || exit 0
|
|
[ -x "run" ] || exit 0
|
|
|
|
./prepare "$day" "$part" "$inputfile"
|
|
hyperfine "./run '$day' '$part' '$inputfile'"
|