Skip to content

Commit 89eb4a0

Browse files
committed
Refactor VSCode tasks in tasks.json for improved clarity and functionality. Renamed tasks for installing and updating dependencies, and simplified labels for building and publishing packages. Removed unused task for testing with coverage.
1 parent 386691f commit 89eb4a0

File tree

1 file changed

+10
-29
lines changed

1 file changed

+10
-29
lines changed

.vscode/tasks.json

Lines changed: 10 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,25 @@
11
{
22
"version": "2.0.0",
33
"tasks": [
4+
45
{
5-
"label": "Generate Client",
6+
"label": "Install Dependencies",
67
"type": "shell",
7-
"command": "just generate-client ${input:apiUrl}",
8+
"command": "just install",
89
"problemMatcher": [],
910
"group": "build"
1011
},
1112
{
12-
"label": "Claude Code",
13-
"type": "shell",
14-
"command": "claude --model ${input:claudeModel}",
15-
"problemMatcher": []
16-
},
17-
{
18-
"label": "Install Dependencies",
13+
"label": "Update Dependencies",
1914
"type": "shell",
20-
"command": "just install",
15+
"command": "just update",
2116
"problemMatcher": [],
2217
"group": "build"
2318
},
2419
{
25-
"label": "Update Dependencies",
20+
"label": "Generate Client",
2621
"type": "shell",
27-
"command": "just update",
22+
"command": "just generate-client ${input:apiUrl}",
2823
"problemMatcher": [],
2924
"group": "build"
3025
},
@@ -49,13 +44,6 @@
4944
"problemMatcher": [],
5045
"group": "test"
5146
},
52-
{
53-
"label": "Test with Coverage",
54-
"type": "shell",
55-
"command": "just test-cov",
56-
"problemMatcher": [],
57-
"group": "test"
58-
},
5947
{
6048
"label": "Lint",
6149
"type": "shell",
@@ -99,14 +87,14 @@
9987
"group": "build"
10088
},
10189
{
102-
"label": "Build Python Package",
90+
"label": "Build Package",
10391
"type": "shell",
10492
"command": "just build-package",
10593
"problemMatcher": [],
10694
"group": "build"
10795
},
10896
{
109-
"label": "Publish Client to PyPI",
97+
"label": "Publish to PyPI",
11098
"type": "shell",
11199
"command": "just publish-pypi ${input:versionType}",
112100
"group": "build",
@@ -128,7 +116,7 @@
128116
{
129117
"id": "apiUrl",
130118
"type": "pickString",
131-
"description": "Choose API URL for Client generation:"
119+
"description": "Choose API URL for Client generation:",
132120
"default": "http://localhost:8000/openapi.json",
133121
"options": [
134122
"http://localhost:8000/openapi.json",
@@ -166,13 +154,6 @@
166154
"description": "Request Claude review automatically:",
167155
"default": "true",
168156
"options": ["true", "false"]
169-
},
170-
{
171-
"id": "claudeModel",
172-
"type": "pickString",
173-
"description": "Choose model:",
174-
"default": "opus",
175-
"options": ["opus", "sonnet"]
176157
}
177158
]
178159
}

0 commit comments

Comments
 (0)