AdventOfCode2020/new.sh

8 lines
129 B
Bash
Raw Normal View History

2020-12-12 16:26:47 +00:00
#!/bin/bash
if [ "${1}" != "" ]; then
2020-12-26 20:54:56 +00:00
mkdir -p ${1}
touch ${1}/{input,testinput}
cp -n main.go.tmpl ${1}/main.go
2020-12-12 16:26:47 +00:00
fi