Updating template defs

added temlates
main
Tom Peltonen 2024-03-03 18:08:39 +11:00
parent c5aebcc310
commit cabe0b04a0
9 changed files with 67 additions and 14 deletions

View File

@ -1,2 +0,0 @@
# Nothing to see here

View File

@ -0,0 +1,8 @@
# Nothing to see here
Write-Host "Linux GOLANG build"
Write-Host "Some text to print {{.Name}}"
go build ../src/main.go

View File

@ -0,0 +1,8 @@
# Nothing to see here
Write-Host "Windows GOLANG build"
Write-Host "Some text to print {{.Name}}"
go build ../src/main.go

View File

@ -3,17 +3,18 @@
"description": "golang build templates",
"templates": [
{
"engine": "",
"folder": "",
"file_name": "golang.tmpl",
"engine": "golang",
"folder": "{{.SelfFolder}}/definitions/{{.TemplateName}}",
"file_name": "build_win.tmpl",
"output_folder": "^/build",
"output_name": "golang.ps1",
"section": "",
"model": {
"activity": {
"category": "BUILD"
}
}
}
]
"output_name": "golang_windows.ps1"
},
{
"engine": "golang",
"folder": "{{.SelfFolder}}/definitions/{{.TemplateName}}",
"file_name": "build_linux.tmpl",
"output_folder": "^/build",
"output_name": "golang_linux.ps1"
}
]
}

View File

@ -0,0 +1,19 @@
{
"name": "sd01",
"description": "Markdown sequence template",
"templates": [
{
"engine": "",
"folder": "{{.SelfFolder}}/definitions/{{.TemplateName}}",
"file_name": "sd01.md.tmpl",
"output_folder": "^/docs",
"output_name": "seqdgm01.md",
"section": "",
"model": {
"activity": {
"category": "OTHER"
}
}
}
]
}

View File

@ -0,0 +1,19 @@
{
"name": "sd02",
"description": "Mermaid sequence template",
"templates": [
{
"engine": "",
"folder": "{{.SelfFolder}}/definitions/{{.TemplateName}}",
"file_name": "sd02.mermaid.tmpl",
"output_folder": "^/docs",
"output_name": "seqdgm02.mermaid",
"section": "",
"model": {
"activity": {
"category": "OTHER"
}
}
}
]
}