1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/bash set -e cd "$(dirname "$0")" for i in 1 2 3; do echo "## $i" mkdir -p .out-$i ../pygen autogen $i .out-$i/ echo done