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