200 lines
5.8 KiB
JSON
200 lines
5.8 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Run Checks",
|
|
"type": "shell",
|
|
"command": "/usr/local/bin/python",
|
|
"args": [
|
|
"${workspaceFolder}/ietf/manage.py",
|
|
"check",
|
|
"--settings=settings_local"
|
|
],
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": false
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Run Migrations",
|
|
"type": "shell",
|
|
"command": "/usr/local/bin/python",
|
|
"args": [
|
|
"${workspaceFolder}/ietf/manage.py",
|
|
"migrate",
|
|
"--settings=settings_local"
|
|
],
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": false
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Run All Tests",
|
|
"type": "shell",
|
|
"command": "/usr/local/bin/python",
|
|
"args": [
|
|
"${workspaceFolder}/ietf/manage.py",
|
|
"test",
|
|
"--settings=settings_test"
|
|
],
|
|
"group": "test",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": true,
|
|
"panel": "new",
|
|
"showReuseMessage": true,
|
|
"clear": false
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Run JS Tests (python)",
|
|
"type": "shell",
|
|
"command": "/usr/local/bin/python",
|
|
"args": [
|
|
"${workspaceFolder}/ietf/manage.py",
|
|
"test",
|
|
"--settings=settings_test",
|
|
"--pattern=tests_js.py"
|
|
],
|
|
"group": "test",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": true,
|
|
"panel": "new",
|
|
"showReuseMessage": true,
|
|
"clear": false
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Re-run Setup Project",
|
|
"type": "shell",
|
|
"command": "/bin/bash",
|
|
"args": [
|
|
"/docker-init.sh"
|
|
],
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": true,
|
|
"panel": "new",
|
|
"showReuseMessage": false,
|
|
"clear": false
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Run SMTP Debugging Server",
|
|
"type": "shell",
|
|
"command": "/usr/local/bin/python",
|
|
"args": [
|
|
"-m",
|
|
"smtpd",
|
|
"-n",
|
|
"-c",
|
|
"DebuggingServer",
|
|
"localhost:2025"
|
|
],
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": true,
|
|
"panel": "new",
|
|
"showReuseMessage": false,
|
|
"clear": false
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Fetch assets via rsync",
|
|
"type": "shell",
|
|
"command": "/bin/bash",
|
|
"args": [
|
|
"${workspaceFolder}/docker/scripts/app-rsync-extras.sh"
|
|
],
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": true,
|
|
"panel": "new",
|
|
"showReuseMessage": false,
|
|
"clear": false
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Fix Windows Timezone File Linking",
|
|
"type": "shell",
|
|
"command": "/bin/bash",
|
|
"args": [
|
|
"${workspaceFolder}/docker/scripts/app-win32-timezone-fix.sh"
|
|
],
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": true,
|
|
"panel": "new",
|
|
"showReuseMessage": false,
|
|
"clear": false
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Run JS Tests (cypress)",
|
|
"type": "shell",
|
|
"command": "/bin/bash",
|
|
"args": [
|
|
"${workspaceFolder}/docker/scripts/app-cypress.sh"
|
|
],
|
|
"group": "test",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": true,
|
|
"panel": "new",
|
|
"showReuseMessage": false,
|
|
"clear": false
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Run Vite Dev Server",
|
|
"type": "shell",
|
|
"command": "yarn",
|
|
"args": [
|
|
"dev"
|
|
],
|
|
"isBackground": true,
|
|
"presentation": {
|
|
"group": "main",
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": false,
|
|
"clear": false
|
|
},
|
|
"runOptions": {
|
|
"instanceLimit": 1
|
|
},
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|