89 lines
2.2 KiB
JSON
89 lines
2.2 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Compile Che operator code",
|
|
"command": "make build",
|
|
"type": "shell",
|
|
"args": [],
|
|
"problemMatcher": [
|
|
"$go"
|
|
],
|
|
"presentation": {
|
|
"reveal": "always"
|
|
},
|
|
"group": "build"
|
|
},
|
|
{
|
|
"label": "Format Che operator code",
|
|
"command": "make fmt",
|
|
"type": "shell",
|
|
"args": [],
|
|
"problemMatcher": [
|
|
"$go"
|
|
],
|
|
"presentation": {
|
|
"reveal": "always"
|
|
},
|
|
"group": "build"
|
|
},
|
|
{
|
|
"label": "Update golang dependencies",
|
|
"command": "make update-go-dependencies",
|
|
"type": "shell",
|
|
"args": [],
|
|
"problemMatcher": [
|
|
"$go"
|
|
],
|
|
"presentation": {
|
|
"reveal": "always"
|
|
},
|
|
"group": "build"
|
|
},
|
|
{
|
|
"label": "Run unit tests",
|
|
"command": "make test",
|
|
"type": "shell",
|
|
"args": [],
|
|
"problemMatcher": [
|
|
"$go"
|
|
],
|
|
"options": {
|
|
"env": {
|
|
"MOCK_API": "true"
|
|
}
|
|
},
|
|
"presentation": {
|
|
"reveal": "always"
|
|
},
|
|
"group": "build"
|
|
},
|
|
{
|
|
"label": "Update development resources",
|
|
"command": "make update-dev-resources",
|
|
"type": "shell",
|
|
"args": [],
|
|
"problemMatcher": [
|
|
"$go"
|
|
],
|
|
"presentation": {
|
|
"reveal": "always"
|
|
},
|
|
"group": "build"
|
|
},
|
|
{
|
|
"label": "Debug Che operator",
|
|
"command": "make debug",
|
|
"type": "shell",
|
|
"args": [],
|
|
"problemMatcher": [
|
|
"$go"
|
|
],
|
|
"presentation": {
|
|
"reveal": "always"
|
|
},
|
|
"group": "build"
|
|
}
|
|
]
|
|
}
|