Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

Commit

Permalink
chore(config): run program on task override VSCode run button
Browse files Browse the repository at this point in the history
  • Loading branch information
NTGNguyen committed Dec 26, 2024
1 parent f077e8e commit 0bc5174
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Run UV",
"type":"node",
"request": "launch",
"program": "${workspaceFolder}/",
"console": "integratedTerminal",
"preLaunchTask": "Run UV",

}
]
}
19 changes: 19 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Run UV",
"type": "shell",
"command":"uv",
"args": ["run",".\\src\\check_phat_nguoi\\__main__.py"],
"options": {
"cwd": "${workspaceFolder}"
},
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
}
]
}

0 comments on commit 0bc5174

Please sign in to comment.