diff options
author | Emil Lauridsen <[email protected]> | 2020-03-16 13:10:13 +0000 |
---|---|---|
committer | Emil Lauridsen <[email protected]> | 2020-03-17 13:47:05 +0000 |
commit | f5a2fcf8f59eda3498bbdcb87568e5ba6b4db8b7 (patch) | |
tree | 1ace16a13f74d6165780b8054b0b4e8b43f945c2 /editors/code/src/config.ts | |
parent | 33c6c7abc6621f8b0cf083a98f7e4788cf4b5b54 (diff) |
Change existing OUT_DIR override config to make use of new infrastructure
Diffstat (limited to 'editors/code/src/config.ts')
-rw-r--r-- | editors/code/src/config.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index 84ec81ecd..c7323f6e9 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts | |||
@@ -23,6 +23,7 @@ export interface CargoFeatures { | |||
23 | allFeatures: boolean; | 23 | allFeatures: boolean; |
24 | features: string[]; | 24 | features: string[]; |
25 | loadOutDirsFromCheck: boolean; | 25 | loadOutDirsFromCheck: boolean; |
26 | outDirOverrides: Record<string, string>; | ||
26 | } | 27 | } |
27 | 28 | ||
28 | export const enum UpdatesChannel { | 29 | export const enum UpdatesChannel { |
@@ -203,7 +204,6 @@ export class Config { | |||
203 | get excludeGlobs() { return this.cfg.get("excludeGlobs") as string[]; } | 204 | get excludeGlobs() { return this.cfg.get("excludeGlobs") as string[]; } |
204 | get useClientWatching() { return this.cfg.get("useClientWatching") as boolean; } | 205 | get useClientWatching() { return this.cfg.get("useClientWatching") as boolean; } |
205 | get featureFlags() { return this.cfg.get("featureFlags") as Record<string, boolean>; } | 206 | get featureFlags() { return this.cfg.get("featureFlags") as Record<string, boolean>; } |
206 | get additionalOutDirs() { return this.cfg.get("additionalOutDirs") as Record<string, string>; } | ||
207 | get rustfmtArgs() { return this.cfg.get("rustfmtArgs") as string[]; } | 207 | get rustfmtArgs() { return this.cfg.get("rustfmtArgs") as string[]; } |
208 | get loadOutDirsFromCheck() { return this.cfg.get("loadOutDirsFromCheck") as boolean; } | 208 | get loadOutDirsFromCheck() { return this.cfg.get("loadOutDirsFromCheck") as boolean; } |
209 | 209 | ||
@@ -222,6 +222,7 @@ export class Config { | |||
222 | allFeatures: this.cfg.get("cargoFeatures.allFeatures") as boolean, | 222 | allFeatures: this.cfg.get("cargoFeatures.allFeatures") as boolean, |
223 | features: this.cfg.get("cargoFeatures.features") as string[], | 223 | features: this.cfg.get("cargoFeatures.features") as string[], |
224 | loadOutDirsFromCheck: this.cfg.get("cargoFeatures.loadOutDirsFromCheck") as boolean, | 224 | loadOutDirsFromCheck: this.cfg.get("cargoFeatures.loadOutDirsFromCheck") as boolean, |
225 | outDirOverrides: this.cfg.get("cargoFeatures.outDirOverrides") as Record<string, string>, | ||
225 | }; | 226 | }; |
226 | } | 227 | } |
227 | 228 | ||