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