Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
tasks.json 1.21 KiB
{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "Client",
            "type": "npm",
            "script": "start",
            "path": "client/",
            "group": "build",
            "problemMatcher": [],
            "presentation": {
                "group": "Client/Server"
            }
        },
        {
            "label": "Server",
            "type": "shell",
            "group": "build",
            "command": "env/Scripts/python main.py",
            "problemMatcher": [],
            "options": {
                "cwd": "${workspaceFolder}/server"
            },
            "presentation": {
                "group": "Client/Server"
            }
        },
        {
            "label": "Test Server",
            "type": "shell",
            "group": "build",
            "command": "env/Scripts/pytest.exe --cov app tests/",
            "problemMatcher": [],
            "options": {
                "cwd": "${workspaceFolder}/server"
            },

        },
        {
            "label": "Client + Server",
            "group": "build",
            "dependsOn": [
                "Server",
                "Client"
            ],
            "problemMatcher": []
        }
    ]
}