root: add vscode tasks

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-07-01 16:10:06 +02:00
parent 8a19c71f62
commit 0e825ffcfd
3 changed files with 82 additions and 7 deletions

View File

@ -6,7 +6,7 @@ updates:
interval: daily
time: "04:00"
open-pull-requests-limit: 10
assignees:
reviewers:
- "@goauthentik/core"
commit-message:
prefix: "ci:"
@ -16,7 +16,7 @@ updates:
interval: daily
time: "04:00"
open-pull-requests-limit: 10
assignees:
reviewers:
- "@goauthentik/core"
commit-message:
prefix: "core:"
@ -26,7 +26,7 @@ updates:
interval: daily
time: "04:00"
open-pull-requests-limit: 10
assignees:
reviewers:
- "@goauthentik/core"
commit-message:
prefix: "web:"
@ -36,7 +36,7 @@ updates:
interval: daily
time: "04:00"
open-pull-requests-limit: 10
assignees:
reviewers:
- "@goauthentik/core"
commit-message:
prefix: "website:"
@ -46,7 +46,7 @@ updates:
interval: daily
time: "04:00"
open-pull-requests-limit: 10
assignees:
reviewers:
- "@goauthentik/core"
commit-message:
prefix: "core:"
@ -56,7 +56,7 @@ updates:
interval: daily
time: "04:00"
open-pull-requests-limit: 10
assignees:
reviewers:
- "@goauthentik/core"
commit-message:
prefix: "core:"

1
.gitignore vendored
View File

@ -193,7 +193,6 @@ pip-selfcheck.json
# End of https://www.gitignore.io/api/python,django
/static/
local.env.yml
.vscode/
# Selenium Screenshots
selenium_screenshots/

76
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,76 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "authentik[core]: format & test",
"command": "poetry",
"args": [
"run",
"make"
],
"group": "build",
},
{
"label": "authentik[core]: run",
"command": "poetry",
"args": [
"run",
"make",
"run",
],
"group": "build",
"presentation": {
"panel": "dedicated",
"group": "running"
},
},
{
"label": "authentik[web]: format",
"command": "make",
"args": ["web"],
"group": "build",
},
{
"label": "authentik[web]: watch",
"command": "make",
"args": ["web-watch"],
"group": "build",
"presentation": {
"panel": "dedicated",
"group": "running"
},
},
{
"label": "authentik: install",
"command": "make",
"args": ["install"],
"group": "build",
},
{
"label": "authentik[website]: format",
"command": "make",
"args": ["website"],
"group": "build",
},
{
"label": "authentik[website]: watch",
"command": "make",
"args": ["website-watch"],
"group": "build",
"presentation": {
"panel": "dedicated",
"group": "running"
},
},
{
"label": "authentik[api]: generate",
"command": "poetry",
"args": [
"run",
"make",
"gen"
],
"group": "build"
},
]
}