Skip to content

Commit

Permalink
Update vscode tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Feb 16, 2025
1 parent dd51ea6 commit 44bee00
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,4 @@ versions.json
tools
.idea

# To prevent accidental changes
.vscode

target/
89 changes: 89 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Docker Compose Up",
"type": "shell",
"command": "docker compose -f compose.yaml up",
"options": {
"cwd": "${workspaceFolder}/engine"
},
"problemMatcher": [],
"isBackground": true,
"presentation": {
"reveal": "always",
"panel": "shared"
}
},
{
"label": "Docker Compose Down",
"type": "shell",
"command": "docker compose -f compose.yaml down",
"options": {
"cwd": "${workspaceFolder}/engine"
},
"problemMatcher": [],
"presentation": {
"reveal": "always",
"panel": "shared"
}
},
{
"label": "PNPM Dev",
"type": "shell",
"command": "pnpm dev",
"options": {
"cwd": "${workspaceFolder}/web"
},
"problemMatcher": [],
"isBackground": true,
"presentation": {
"reveal": "always",
"panel": "shared"
}
},
{
"label": "Cargo Run",
"type": "shell",
"command": "cargo run",
"options": {
"cwd": "${workspaceFolder}/engine"
},
"problemMatcher": [],
"isBackground": true,
"presentation": {
"reveal": "always",
"panel": "shared"
}
},
{
"label": "Bacon",
"type": "shell",
"command": "bacon",
"options": {
"cwd": "${workspaceFolder}/engine"
},
"problemMatcher": [],
"isBackground": true,
"presentation": {
"reveal": "always",
"panel": "shared"
}
},
{
"label": "Start Dev Environment",
"dependsOn": [
"Docker Compose Up",
"PNPM Dev",
"Bacon",
"Cargo Run"
],
"group": {
"kind": "build",
"isDefault": true
},
"dependsOrder": "parallel",
"problemMatcher": []
}
]
}

0 comments on commit 44bee00

Please sign in to comment.