From 0e825ffcfd5a8071adb4988c64666c493f961dbc Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Fri, 1 Jul 2022 16:10:06 +0200 Subject: [PATCH] root: add vscode tasks Signed-off-by: Jens Langhammer --- .github/dependabot.yml | 12 +++---- .gitignore | 1 - .vscode/tasks.json | 76 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+), 7 deletions(-) create mode 100644 .vscode/tasks.json diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 430613b99..bacfaf537 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -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:" diff --git a/.gitignore b/.gitignore index 6fd1ae769..e283157b5 100644 --- a/.gitignore +++ b/.gitignore @@ -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/ diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 000000000..fb2b880fe --- /dev/null +++ b/.vscode/tasks.json @@ -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" + }, + ] +}