Files
adventofcode/runall.sh
Bert Peters b1956e0d5a Add solution for day 10.
For some reason, day 10 won't run that well with pypy, so I disabled
trying pypy in the runner script.
2015-12-10 11:59:04 +01:00

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