From 7c0714e47e9bab1daf3d27b9dc5ad0d36d5d29f2 Mon Sep 17 00:00:00 2001 From: jolheiser Date: Tue, 14 Jun 2022 14:43:39 -0500 Subject: [PATCH] Update template Signed-off-by: jolheiser --- template.toml | 2 -- template/.gitignore | 4 ++-- tmpl.yaml | 4 ++++ 3 files changed, 6 insertions(+), 4 deletions(-) delete mode 100644 template.toml create mode 100644 tmpl.yaml 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