Update template

Signed-off-by: jolheiser <john.olheiser@gmail.com>
gitignore
jolheiser 2022-06-14 14:43:39 -05:00
parent 98a05d3d1d
commit 7c0714e47e
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
3 changed files with 6 additions and 4 deletions

View File

@ -1,2 +0,0 @@
[binary]
prompt = "Binary name (leave blank if this is a library)"

4
template/.gitignore vendored
View File

@ -1,8 +1,8 @@
# GoLand # GoLand
.idea/ .idea/
{{if ne .binary ""}} {{if ne .binary "" -}}
# Binaries # Binaries
/{{.binary}} /{{.binary}}
/{{.binary}}.exe /{{.binary}}.exe
{{end}} {{- end}}

4
tmpl.yaml 100644
View File

@ -0,0 +1,4 @@
prompts:
- id: binary
label: Binary Name
help: Leave blank if this is a library