diff --git a/template.toml b/template.toml deleted file mode 100644 index 3e9ae30..0000000 --- a/template.toml +++ /dev/null @@ -1,2 +0,0 @@ -[binary] -prompt = "Binary name (leave blank if this is a library)" \ No newline at end of file diff --git a/template/.gitignore b/template/.gitignore index 34f1230..1dadff8 100644 --- a/template/.gitignore +++ b/template/.gitignore @@ -1,8 +1,8 @@ # GoLand .idea/ -{{if ne .binary ""}} +{{if ne .binary "" -}} # Binaries /{{.binary}} /{{.binary}}.exe -{{end}} \ No newline at end of file +{{- end}} \ No newline at end of file diff --git a/tmpl.yaml b/tmpl.yaml new file mode 100644 index 0000000..4667afd --- /dev/null +++ b/tmpl.yaml @@ -0,0 +1,4 @@ +prompts: + - id: binary + label: Binary Name + help: Leave blank if this is a library \ No newline at end of file