mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-25 21:00:31 +01:00
For some reason, day 10 won't run that well with pypy, so I disabled trying pypy in the runner script.
20 lines
209 B
Bash
Executable File
20 lines
209 B
Bash
Executable File
#!/bin/bash
|
|
|
|
rundir()
|
|
{
|
|
input=""
|
|
if [ -f $1/input.txt ]; then
|
|
input="$1/input.txt"
|
|
fi
|
|
|
|
for i in $1/*.py; do
|
|
echo "$i" "$input"
|
|
python "$i" "$input"
|
|
echo
|
|
done
|
|
}
|
|
|
|
for i in day-*; do
|
|
rundir $i
|
|
done
|