AdventOfCode2021/run.sh

9 lines
129 B
Bash
Raw Normal View History

2021-11-30 23:51:56 +00:00
#!/bin/bash
if [ "${1}" != "" ]; then
padded=$(printf "%02g" ${1})
cd ${padded}
2021-11-30 23:51:56 +00:00
go run *.go
cd - > /dev/null
fi