diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..0ae8064 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,67 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "Ruff: Check", + "type": "shell", + "command": "uv", + "args": ["run", "ruff", "check", "."], + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [] + }, + { + "label": "Ty: Check", + "type": "shell", + "command": "uv", + "args": ["run", "ty", "check"], + "options": { + "cwd": "${workspaceFolder}" + }, + "problemMatcher": [] + }, + { + "label": "Docs: Build", + "type": "shell", + "command": "uv", + "args": ["run", "zensical", "build"], + "options": { + "cwd": "${workspaceFolder}" + }, + "group": "build", + "problemMatcher": [] + }, + { + "label": "Server: Run (uvicorn)", + "type": "shell", + "command": "uv", + "args": [ + "run", + "uvicorn", + "personal_mcp.main:app", + "--host", + "127.0.0.1", + "--port", + "8000", + "--reload" + ], + "options": { + "cwd": "${workspaceFolder}" + }, + "isBackground": true, + "problemMatcher": [] + }, + { + "label": "Docker: Compose Up (Build)", + "type": "shell", + "command": "docker", + "args": ["compose", "up", "--build"], + "options": { + "cwd": "${workspaceFolder}" + }, + "isBackground": true, + "problemMatcher": [] + } + ] +}