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,13 +7,12 @@ inputfile="../inputs/$day-input"
|
|||
|
||||
if ! ./prepare "$day" "$part" "$inputfile"; then
|
||||
echo 'eh ge hebt precies niet alles geïnstalleerd staan'
|
||||
exit
|
||||
else
|
||||
if [ -x "run" ]; then
|
||||
hyperfine "./run '$day' '$part' '$inputfile'"
|
||||
fi
|
||||
fi
|
||||
|
||||
[ -x "run" ] || exit 0
|
||||
|
||||
hyperfine "./run '$day' '$part' '$inputfile'"
|
||||
|
||||
if [ -x "clean" ]; then
|
||||
./clean
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue