Skip to content

Commit

Permalink
fix: update build target names
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 committed Nov 8, 2024
1 parent 64ff151 commit 1c75a8c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,12 +235,12 @@
"description": "Default target to build. Leave blank to use the config default.",
"enum": [
"----",
"breakpad",
"chromedriver",
"third_party/breakpad:dump_syms",
"electron:electron_chromedriver_zip",
"electron",
"electron:dist",
"mksnapshot",
"node:headers"
"electron:electron_dist_zip",
"electron:electron_mksnapshot_zip",
"electron:node_headers"
],
"default": "----"
},
Expand Down
10 changes: 5 additions & 5 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ export const extensionId = "dsanders11.vscode-electron-build-tools";
export const blankConfigEnumValue = "----";

export const buildTargets = Object.freeze([
"breakpad",
"chromedriver",
"third_party/breakpad:dump_syms",
"electron:electron_chromedriver_zip",
"electron",
"electron:dist",
"mksnapshot",
"node:headers",
"electron:electron_dist_zip",
"electron:electron_mksnapshot_zip",
"electron:node_headers",
]);

export const buildToolsExecutable = "electron-build-tools";
Expand Down
10 changes: 5 additions & 5 deletions src/types/extensionConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ export interface ElectronBuildTools {
*/
"electronBuildTools.build.defaultTarget"?:
| "----"
| "breakpad"
| "chromedriver"
| "third_party/breakpad:dump_syms"
| "electron:electron_chromedriver_zip"
| "electron"
| "electron:dist"
| "mksnapshot"
| "node:headers";
| "electron:electron_dist_zip"
| "electron:electron_mksnapshot_zip"
| "electron:node_headers";
"electronBuildTools.build.ninjaArgs"?: NinjaArgs;
"electronBuildTools.build.showTargets"?: ShowTargets;
"electronBuildTools.docs.lintRelativeLinks"?: LintRelativeLinks;
Expand Down

0 comments on commit 1c75a8c

Please sign in to comment.