echoer/.vscode/tasks.json

91 lines
2.1 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "backend",
"type": "shell",
"command": "cargo run",
"options": {
"cwd": "${workspaceFolder}/backend"
},
"problemMatcher": [
"$armcc5"
]
},
{
"label": "backend-fmt",
"type": "shell",
"command": "cargo fmt",
"options": {
"cwd": "${workspaceFolder}/backend"
},
"problemMatcher": []
},
{
"label": "frontend-dev",
"type": "shell",
"command": "dx serve",
"options": {
"cwd": "${workspaceFolder}/frontend"
},
"problemMatcher": []
},
{
"label": "frontend-start",
"type": "shell",
"command": "serve .",
"options": {
"cwd": "${workspaceFolder}/frontend/target/dx/frontend/release/web/public"
},
"problemMatcher": []
},
{
"label": "frontend-build",
"type": "shell",
"command": "dx build --release",
"options": {
"cwd": "${workspaceFolder}/frontend"
},
"problemMatcher": []
},
{
"label": "frontend-tailwind-build",
"type": "shell",
"command": "npx tailwindcss -i ./tailwind.css -o ./assets/styling/tailwind.css",
"options": {
"cwd": "${workspaceFolder}/frontend"
},
"problemMatcher": []
},
{
"label": "frontend-fmt",
"type": "shell",
"command": "cargo fmt",
"options": {
"cwd": "${workspaceFolder}/frontend"
},
"problemMatcher": []
},
{
"label": "format-all",
"dependsOn": [
"backend-fmt",
"frontend-fmt"
],
"dependsOrder": "parallel",
"problemMatcher": []
},
{
"label": "run-all",
"dependsOn": [
"backend",
"frontend-dev"
],
"dependsOrder": "parallel",
"group": {
"kind": "build",
"isDefault": true
}
}
]
}