Skip to content

Commit 2163208

Browse files
committed
update build tasks
1 parent 5529bce commit 2163208

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

.vscode/launch.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"type": "node",
66
"request": "launch",
77
"name": "Generate debugProtocol.ts",
8-
"program": "${workspaceRoot}/src/generator.ts",
9-
"outFiles": [ "${workspaceRoot}/out/**/*.js" ]
8+
"program": "${workspaceRoot}/protocol/lib/generator.js",
109
}
1110
]
12-
}
11+
}

.vscode/tasks.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@
44
"version": "2.0.0",
55
"tasks": [
66
{
7-
"type": "typescript",
8-
"tsconfig": "src/tsconfig.json",
7+
"type": "npm",
8+
"script": "compile",
9+
"group": "build",
910
"problemMatcher": [
1011
"$tsc"
1112
],
12-
"group": {
13-
"kind": "build",
14-
"isDefault": true
15-
}
13+
"label": "npm: compile",
14+
"detail": "lerna run compile --stream"
1615
}
1716
]
18-
}
17+
}

protocol/src/generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function Module(moduleName: string, schema: IProtocol): string {
1919
s += line();
2020

2121
//s += comment(schema.description);
22-
s += comment({ description : 'Declaration module describing the VS Code debug protocol.\nAuto-generated from json schema. Do not edit manually.'});
22+
s += comment({ description: 'Declaration module describing the VS Code debug protocol.\nAuto-generated from json schema. Do not edit manually.'});
2323

2424
s += openBlock(`export declare module ${moduleName}`);
2525

0 commit comments

Comments
 (0)