mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-25 12:50:32 +01:00
20 lines
214 B
Bash
Executable File
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
|