f88f09f962
* Improved dev env setup * Cleanup duplicate checks * Applied PR feedback * Updated go.mod/go.sum * go mod tidy * Update .devcontainer/devcontainer.json * Update pkg/http/server_test.go Co-authored-by: Jan Larwig <jan@larwig.com> * Create launch.json * Update .devcontainer/Dockerfile * Apply suggestions from code review --------- Co-authored-by: Jan Larwig <jan@larwig.com>
77 lines
1.6 KiB
JSON
77 lines
1.6 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Run oauth2-proxy",
|
|
"type": "shell",
|
|
"command": "./oauth2-proxy --config contrib/local-environment/oauth2-proxy.cfg --alpha-config contrib/local-environment/oauth2-proxy-alpha0config.cfg",
|
|
"dependsOn": ["Build"],
|
|
"group": {
|
|
"kind": "test",
|
|
"isDefault": true
|
|
},
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "new"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Test",
|
|
"type": "shell",
|
|
"command": "make test",
|
|
"group": {
|
|
"kind": "test",
|
|
"isDefault": true
|
|
},
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "new"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Ruff",
|
|
"type": "shell",
|
|
"command": "pre-commit run ruff --all-files",
|
|
"group": {
|
|
"kind": "test",
|
|
"isDefault": true
|
|
},
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "new"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "golint",
|
|
"type": "shell",
|
|
"command": "make lint",
|
|
"group": {
|
|
"kind": "test",
|
|
"isDefault": true
|
|
},
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "new"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Build",
|
|
"type": "shell",
|
|
"command": "make build",
|
|
"group": {
|
|
"kind": "test",
|
|
"isDefault": true
|
|
},
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "new"
|
|
},
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|