Files
adventofcode/runall.sh
2015-12-19 17:12:07 +01:00

20 lines
214 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"
time python "$i" "$input"
echo
done
}
for i in day-*; do
rundir $i
done