28 lines
600 B
JSON
Executable File
28 lines
600 B
JSON
Executable File
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "prepare-swaggo",
|
|
"type": "shell",
|
|
"command": "go install github.com/swaggo/swag/cmd/swag@latest"
|
|
},
|
|
{
|
|
"label": "prepare-go",
|
|
"type": "shell",
|
|
"command": "go mod tidy",
|
|
},
|
|
{
|
|
"label": "swaggo-init",
|
|
"type": "shell",
|
|
"command": "swag init --ot json"
|
|
}, {
|
|
"label": "prepare",
|
|
"dependsOn":[
|
|
"prepare-go",
|
|
"swaggo-init",
|
|
]
|
|
}
|
|
]
|
|
} |