mirror of
https://github.com/ZeusWPI/Advent-of-Code-Aggregator.git
synced 2024-11-22 14:51:11 +01:00
check environment in prepare
This commit is contained in:
parent
aa446f085b
commit
cd39dd7075
1 changed files with 5 additions and 1 deletions
|
@ -6,5 +6,9 @@ inputfile="../inputs/$day-input"
|
||||||
[ -x "prepare" ] || exit 0
|
[ -x "prepare" ] || exit 0
|
||||||
[ -x "run" ] || exit 0
|
[ -x "run" ] || exit 0
|
||||||
|
|
||||||
./prepare "$day" "$part" "$inputfile"
|
if ! ./prepare "$day" "$part" "$inputfile"; then
|
||||||
|
echo 'eh ge hebt precies niet alles geïnstalleerd staan'
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
hyperfine "./run '$day' '$part' '$inputfile'"
|
hyperfine "./run '$day' '$part' '$inputfile'"
|
||||||
|
|
Loading…
Reference in a new issue