-
Notifications
You must be signed in to change notification settings - Fork 750
Expand file tree
/
Copy pathprojectPaths.ts
More file actions
30 lines (22 loc) · 1.74 KB
/
projectPaths.ts
File metadata and controls
30 lines (22 loc) · 1.74 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
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import * as path from 'path';
import { commandLineOptions } from './commandLineArguments';
import { componentInfo } from '../src/lsptoolshost/extensions/builtInComponents';
export const rootPath = path.resolve(__dirname, '..');
const nodeModulesPath = path.join(rootPath, 'node_modules');
export const vscePath = path.join(nodeModulesPath, '@vscode', 'vsce', 'vsce');
export const jestPath = path.join(nodeModulesPath, 'jest', 'bin', 'jest');
export const packedVsixOutputRoot = commandLineOptions.outputFolder || path.join(rootPath, 'vsix');
export const nugetTempPath = path.join(rootPath, 'out', '.nuget');
export const languageServerDirectory = path.join(rootPath, '.roslyn');
export const devKitDependenciesDirectory = path.join(rootPath, componentInfo.roslynDevKit.defaultFolderName);
export const xamlToolsDirectory = path.join(rootPath, componentInfo.xamlTools.defaultFolderName);
export const razorExtensionDirectory = path.join(rootPath, componentInfo.razorExtension.defaultFolderName);
export const codeExtensionPath = commandLineOptions.codeExtensionPath || rootPath;
export const omnisharpTestRootPath = path.join(rootPath, 'out', 'omnisharptest');
export const omnisharpFeatureTestRunnerPath = path.join(omnisharpTestRootPath, 'runFeatureTests.js');
export const outPath = path.join(rootPath, 'out');
export const nodePath = path.join(process.env.NVM_BIN ? `${process.env.NVM_BIN}${path.sep}` : '', 'node');