-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.91 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) · 2.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "ss13buildflags",
"displayName": "SS13 Build Flags",
"description": "Plugin to select build/debug flags for your SS13 Repo.",
"version": "1.0.0",
"publisher": "ss13",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"views": {
"debug": [
{
"id": "ss13BuildFlags.view",
"name": "Build Flags",
"type": "webview",
"contextualTitle": "Build Flags"
}
]
},
"commands": [
{
"command": "ss13BuildFlags.pick",
"title": "Build Flags: Show Panel",
"category": "SS13 Build Flags"
},
{
"command": "ss13BuildFlags.clear",
"title": "Build Flags: Clear Selection",
"category": "SS13 Build Flags"
}
],
"configuration": {
"title": "SS13 Build Flags",
"properties": {
"ss13BuildFlags.configPath": {
"type": "string",
"default": "tools/build/build_flags.json",
"description": "Workspace-relative path to build_flags.json (the flag/preset source of truth)."
},
"ss13BuildFlags.baseTask": {
"type": "string",
"default": null,
"markdownDescription": "Name of an existing task (from `tasks.json`) to run with the selected flags injected. When set, F5 will run that task with flags injected instead of the config's original `preLaunchTask`."
},
"ss13BuildFlags.injectionMode": {
"type": "string",
"enum": [
"cli-args",
"write-file"
],
"default": "cli-args",
"markdownEnumDescriptions": [
"Clones `ss13BuildFlags.baseTask` with `-D${define}` appended to its command/args (DreamMaker-style CLI defines).",
"Writes the selected `#define`s into `ss13BuildFlags.localDefinesPath`, then runs `ss13BuildFlags.baseTask` unmodified. Use this when the build system has no CLI define flag."
],
"markdownDescription": "How selected flags get injected into the build. See the enum descriptions for each mode."
},
"ss13BuildFlags.localDefinesPath": {
"type": "string",
"default": "",
"markdownDescription": "Workspace-relative path to a file the selected `#define`s are written into before the build task runs. Only used when `ss13BuildFlags.injectionMode` is `write-file`. Only the extension's own marked block within this file is touched — any other hand-written content is preserved."
},
"ss13BuildFlags.definesDocPath": {
"type": "string",
"default": "",
"markdownDescription": "Workspace-relative path to a single DM file scanned for `///` doc comments above `#define`s, used to auto-fill a flag's description when `build_flags.json` leaves it blank. Leave empty to disable auto-descriptions."
}
}
}
},
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"vscode:prepublish": "npm run compile"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/vscode": "^1.85.0",
"typescript": "^5.4.0"
}
}