AdventOfCode2021/run.sh

9 lines
132 B
Bash
Raw Permalink Normal View History

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