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