mirror of
https://github.com/ZeusWPI/Advent-of-Code-Aggregator.git
synced 2024-11-22 23:01:10 +01:00
11 lines
217 B
Text
11 lines
217 B
Text
|
#!/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'"
|