Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
jolheiser | 5e15502da0 | |
jolheiser | ac63841684 |
|
@ -1,6 +1,6 @@
|
||||||
# .gitignore Template
|
# tmpl templates
|
||||||
|
|
||||||
A basic .gitignore template for [tmpl](https://git.jojodev.com/jolheiser/tmpl)
|
Check out the various branches for some basic examples of templates.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
# GoLand
|
|
||||||
.idea/
|
|
||||||
|
|
||||||
{{if ne .binary "" -}}
|
|
||||||
# Binaries
|
|
||||||
/{{.binary}}
|
|
||||||
/{{.binary}}.exe
|
|
||||||
{{- end}}
|
|
|
@ -0,0 +1 @@
|
||||||
|
Delete this file and put something else here!
|
13
tmpl.yaml
13
tmpl.yaml
|
@ -1,4 +1,11 @@
|
||||||
|
# tmpl.yaml
|
||||||
|
# Write any template args here to prompt the user for, giving any defaults/options as applicable
|
||||||
|
|
||||||
prompts:
|
prompts:
|
||||||
- id: binary
|
- id: name
|
||||||
label: Binary Name
|
label: Name
|
||||||
help: Leave blank if this is a library
|
default: MyProject
|
||||||
|
- id: lang
|
||||||
|
label: Language
|
||||||
|
default: Go
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue