This commit is contained in:
Elaheh Rashedi 2022-04-04 15:02:53 -07:00 коммит произвёл GitHub
Родитель ef1a255610
Коммит 8371ed9279
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
29 изменённых файлов: 340 добавлений и 355 удалений

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -8,7 +8,7 @@ import * as vscode from 'vscode';
import * as api from '@cmt/api'; import * as api from '@cmt/api';
import { CMakeExecutable } from '@cmt/cmake/cmake-executable'; import { CMakeExecutable } from '@cmt/cmake/cmake-executable';
import * as codepages from '@cmt/code-pages'; import * as codepages from '@cmt/code-pages';
import { ConfigureTrigger } from "@cmt/cmake-tools"; import { ConfigureTrigger } from "@cmt/cmakeTools";
import { ArgsCompileCommand } from '@cmt/compdb'; import { ArgsCompileCommand } from '@cmt/compdb';
import { ConfigurationReader, defaultNumJobs } from '@cmt/config'; import { ConfigurationReader, defaultNumJobs } from '@cmt/config';
import { CMakeBuildConsumer, CompileOutputConsumer } from '@cmt/diagnostics/build'; import { CMakeBuildConsumer, CompileOutputConsumer } from '@cmt/diagnostics/build';

Просмотреть файл

@ -1,5 +1,5 @@
import * as api from '@cmt/api'; import * as api from '@cmt/api';
import { ConfigureTrigger } from '@cmt/cmake-tools'; import { ConfigureTrigger } from '@cmt/cmakeTools';
import { ExecutableTarget } from '@cmt/api'; import { ExecutableTarget } from '@cmt/api';
import { CMakeCache } from '@cmt/cache'; import { CMakeCache } from '@cmt/cache';
import { CMakeExecutable } from '@cmt/cmake/cmake-executable'; import { CMakeExecutable } from '@cmt/cmake/cmake-executable';

Просмотреть файл

@ -1,6 +1,6 @@
import { CMakeExecutable } from '@cmt/cmake/cmake-executable'; import { CMakeExecutable } from '@cmt/cmake/cmake-executable';
import { InputFileSet } from '@cmt/dirty'; import { InputFileSet } from '@cmt/dirty';
import { ConfigureTrigger } from '@cmt/cmake-tools'; import { ConfigureTrigger } from '@cmt/cmakeTools';
import * as path from 'path'; import * as path from 'path';
import * as vscode from 'vscode'; import * as vscode from 'vscode';

Просмотреть файл

@ -12,7 +12,7 @@ import * as cpt from 'vscode-cpptools';
import * as nls from 'vscode-nls'; import * as nls from 'vscode-nls';
import { CMakeCache } from '@cmt/cache'; import { CMakeCache } from '@cmt/cache';
import { CMakeTools, ConfigureType, ConfigureTrigger } from '@cmt/cmake-tools'; import { CMakeTools, ConfigureType, ConfigureTrigger } from '@cmt/cmakeTools';
import { ConfigurationReader, TouchBarConfig } from '@cmt/config'; import { ConfigurationReader, TouchBarConfig } from '@cmt/config';
import { CppConfigurationProvider, DiagnosticsCpptools } from '@cmt/cpptools'; import { CppConfigurationProvider, DiagnosticsCpptools } from '@cmt/cpptools';
import { CMakeToolsFolderController, CMakeToolsFolder, DiagnosticsConfiguration, DiagnosticsSettings } from '@cmt/folders'; import { CMakeToolsFolderController, CMakeToolsFolder, DiagnosticsConfiguration, DiagnosticsSettings } from '@cmt/folders';

Просмотреть файл

@ -6,7 +6,7 @@ import * as nls from 'vscode-nls';
import * as path from 'path'; import * as path from 'path';
import * as util from '@cmt/util'; import * as util from '@cmt/util';
import CMakeTools from '@cmt/cmake-tools'; import CMakeTools from '@cmt/cmakeTools';
import { KitsController } from '@cmt/kitsController'; import { KitsController } from '@cmt/kitsController';
import rollbar from '@cmt/rollbar'; import rollbar from '@cmt/rollbar';
import { disposeAll, setContextValue } from '@cmt/util'; import { disposeAll, setContextValue } from '@cmt/util';

Просмотреть файл

@ -10,7 +10,7 @@ import * as path from 'path';
import * as vscode from 'vscode'; import * as vscode from 'vscode';
import * as kitsController from '@cmt/kitsController'; import * as kitsController from '@cmt/kitsController';
import CMakeTools from './cmake-tools'; import CMakeTools from './cmakeTools';
import * as expand from './expand'; import * as expand from './expand';
import { VSInstallation, vsInstallations, getHostTargetArchString, varsForVSInstallation, generatorPlatformFromVSArch } from './installs/visual-studio'; import { VSInstallation, vsInstallations, getHostTargetArchString, varsForVSInstallation, generatorPlatformFromVSArch } from './installs/visual-studio';
import * as logging from './logging'; import * as logging from './logging';

Просмотреть файл

@ -6,7 +6,7 @@ import * as path from 'path';
import * as vscode from 'vscode'; import * as vscode from 'vscode';
import * as nls from 'vscode-nls'; import * as nls from 'vscode-nls';
import CMakeTools from '@cmt/cmake-tools'; import CMakeTools from '@cmt/cmakeTools';
import { import {
Kit, Kit,
descriptionForKit, descriptionForKit,

Просмотреть файл

@ -3,7 +3,7 @@ import * as path from 'path';
import * as vscode from 'vscode'; import * as vscode from 'vscode';
import * as nls from 'vscode-nls'; import * as nls from 'vscode-nls';
import { CMakeTools } from '@cmt/cmake-tools'; import { CMakeTools } from '@cmt/cmakeTools';
import * as logging from '@cmt/logging'; import * as logging from '@cmt/logging';
import { fs } from '@cmt/pr'; import { fs } from '@cmt/pr';
import * as preset from '@cmt/preset'; import * as preset from '@cmt/preset';

Просмотреть файл

@ -1,6 +1,6 @@
import { DefaultEnvironment, expect, getFirstSystemKit } from '@test/util'; import { DefaultEnvironment, expect, getFirstSystemKit } from '@test/util';
import * as vscode from 'vscode'; import * as vscode from 'vscode';
import CMakeTools from '@cmt/cmake-tools'; import CMakeTools from '@cmt/cmakeTools';
suite('Debug/Launch interface', async () => { suite('Debug/Launch interface', async () => {
let testEnv: DefaultEnvironment; let testEnv: DefaultEnvironment;

Просмотреть файл

@ -4,7 +4,7 @@ import { clearExistingKitConfigurationFile, DefaultEnvironment, expect, getFirst
import { fs } from '@cmt/pr'; import { fs } from '@cmt/pr';
import * as path from 'path'; import * as path from 'path';
import * as vscode from 'vscode'; import * as vscode from 'vscode';
import CMakeTools from '@cmt/cmake-tools'; import CMakeTools from '@cmt/cmakeTools';
suite('Environment Variables in Variants', async () => { suite('Environment Variables in Variants', async () => {
let testEnv: DefaultEnvironment; let testEnv: DefaultEnvironment;

Просмотреть файл

@ -9,7 +9,7 @@ import {
} from '@test/util'; } from '@test/util';
import * as path from 'path'; import * as path from 'path';
import * as vscode from 'vscode'; import * as vscode from 'vscode';
import CMakeTools from '@cmt/cmake-tools'; import CMakeTools from '@cmt/cmakeTools';
const workername: string = process.platform; const workername: string = process.platform;

Просмотреть файл

@ -1,6 +1,6 @@
import { DefaultEnvironment, expect, getFirstSystemKit } from '@test/util'; import { DefaultEnvironment, expect, getFirstSystemKit } from '@test/util';
import * as vscode from 'vscode'; import * as vscode from 'vscode';
import CMakeTools from '@cmt/cmake-tools'; import CMakeTools from '@cmt/cmakeTools';
suite('Debug/Launch interface using Kits and Variants', async () => { suite('Debug/Launch interface using Kits and Variants', async () => {
let testEnv: DefaultEnvironment; let testEnv: DefaultEnvironment;

Просмотреть файл

@ -4,7 +4,7 @@ import { clearExistingKitConfigurationFile, DefaultEnvironment, expect, getFirst
import { fs } from '@cmt/pr'; import { fs } from '@cmt/pr';
import * as path from 'path'; import * as path from 'path';
import * as vscode from 'vscode'; import * as vscode from 'vscode';
import CMakeTools from '@cmt/cmake-tools'; import CMakeTools from '@cmt/cmakeTools';
suite('Environment Variables in Variants', async () => { suite('Environment Variables in Variants', async () => {
let testEnv: DefaultEnvironment; let testEnv: DefaultEnvironment;

Просмотреть файл

@ -1,4 +1,4 @@
import { CMakeTools } from '@cmt/cmake-tools'; import { CMakeTools } from '@cmt/cmakeTools';
import { clearExistingKitConfigurationFile, DefaultEnvironment, expect, getFirstSystemKit } from '@test/util'; import { clearExistingKitConfigurationFile, DefaultEnvironment, expect, getFirstSystemKit } from '@test/util';
suite('cmake', async () => { suite('cmake', async () => {

Просмотреть файл

@ -1,5 +1,5 @@
/* eslint-disable no-unused-expressions */ /* eslint-disable no-unused-expressions */
import { CMakeTools, ConfigureTrigger } from '@cmt/cmake-tools'; import { CMakeTools, ConfigureTrigger } from '@cmt/cmakeTools';
import { fs } from '@cmt/pr'; import { fs } from '@cmt/pr';
import { TestProgramResult } from '@test/helpers/testprogram/test-program-result'; import { TestProgramResult } from '@test/helpers/testprogram/test-program-result';
import { ExtensionConfigurationSettings } from '@cmt/config'; import { ExtensionConfigurationSettings } from '@cmt/config';

Просмотреть файл

@ -1,5 +1,5 @@
/* eslint-disable no-unused-expressions */ /* eslint-disable no-unused-expressions */
import { CMakeTools } from '@cmt/cmake-tools'; import { CMakeTools } from '@cmt/cmakeTools';
import { DefaultEnvironment, expect, getFirstSystemKit } from '@test/util'; import { DefaultEnvironment, expect, getFirstSystemKit } from '@test/util';
//import sinon = require('sinon'); //import sinon = require('sinon');
import * as fs from 'fs'; import * as fs from 'fs';

Просмотреть файл

@ -1,6 +1,6 @@
import * as api from '@cmt/api'; import * as api from '@cmt/api';
import { CMakeCache } from '@cmt/cache'; import { CMakeCache } from '@cmt/cache';
import { CMakeTools } from '@cmt/cmake-tools'; import { CMakeTools } from '@cmt/cmakeTools';
import { clearExistingKitConfigurationFile, DefaultEnvironment, expect, getFirstSystemKit } from '@test/util'; import { clearExistingKitConfigurationFile, DefaultEnvironment, expect, getFirstSystemKit } from '@test/util';
import * as path from 'path'; import * as path from 'path';

Просмотреть файл

@ -1,7 +1,7 @@
/* eslint-disable no-unused-expressions */ /* eslint-disable no-unused-expressions */
import * as api from '@cmt/api'; import * as api from '@cmt/api';
import { CMakeCache } from '@cmt/cache'; import { CMakeCache } from '@cmt/cache';
import { CMakeTools, ConfigureTrigger } from '@cmt/cmake-tools'; import { CMakeTools, ConfigureTrigger } from '@cmt/cmakeTools';
import { readKitsFile, kitsForWorkspaceDirectory, getAdditionalKits, USER_KITS_FILEPATH } from '@cmt/kit'; import { readKitsFile, kitsForWorkspaceDirectory, getAdditionalKits, USER_KITS_FILEPATH } from '@cmt/kit';
import { platformNormalizePath } from '@cmt/util'; import { platformNormalizePath } from '@cmt/util';
import { DefaultEnvironment, expect } from '@test/util'; import { DefaultEnvironment, expect } from '@test/util';

Просмотреть файл

@ -1,6 +1,6 @@
import * as api from '@cmt/api'; import * as api from '@cmt/api';
import { CMakeCache } from '@cmt/cache'; import { CMakeCache } from '@cmt/cache';
import { CMakeTools, ConfigureTrigger } from '@cmt/cmake-tools'; import { CMakeTools, ConfigureTrigger } from '@cmt/cmakeTools';
import paths from '@cmt/paths'; import paths from '@cmt/paths';
import { objectPairs, platformNormalizePath, makeHashString } from '@cmt/util'; import { objectPairs, platformNormalizePath, makeHashString } from '@cmt/util';
import { clearExistingKitConfigurationFile, DefaultEnvironment, expect, getFirstSystemKit } from '@test/util'; import { clearExistingKitConfigurationFile, DefaultEnvironment, expect, getFirstSystemKit } from '@test/util';

Просмотреть файл

@ -2,7 +2,7 @@
import * as api from '@cmt/api'; import * as api from '@cmt/api';
import { CMakeCache } from '@cmt/cache'; import { CMakeCache } from '@cmt/cache';
import { CMakeTools, ConfigureTrigger } from '@cmt/cmake-tools'; import { CMakeTools, ConfigureTrigger } from '@cmt/cmakeTools';
import { clearExistingKitConfigurationFile, DefaultEnvironment, expect, getFirstSystemKit } from '@test/util'; import { clearExistingKitConfigurationFile, DefaultEnvironment, expect, getFirstSystemKit } from '@test/util';
import { fs } from '@cmt/pr'; import { fs } from '@cmt/pr';
import * as path from 'path'; import * as path from 'path';

Просмотреть файл

@ -1,4 +1,4 @@
import { ConfigureTrigger } from '@cmt/cmake-tools'; import { ConfigureTrigger } from '@cmt/cmakeTools';
import { expect } from 'chai'; import { expect } from 'chai';
import { smokeSuite, smokeTestDefaultKit } from '@test/smoke/smoke'; import { smokeSuite, smokeTestDefaultKit } from '@test/smoke/smoke';

Просмотреть файл

@ -1,4 +1,4 @@
import { CMakeTools } from '@cmt/cmake-tools'; import { CMakeTools } from '@cmt/cmakeTools';
import { expect } from 'chai'; import { expect } from 'chai';
import { smokeSuite, smokeTestDefaultKit } from '@test/smoke/smoke'; import { smokeSuite, smokeTestDefaultKit } from '@test/smoke/smoke';

Просмотреть файл

@ -1,4 +1,4 @@
import { ConfigureTrigger } from '@cmt/cmake-tools'; import { ConfigureTrigger } from '@cmt/cmakeTools';
import { expect } from 'chai'; import { expect } from 'chai';
import * as path from 'path'; import * as path from 'path';

Просмотреть файл

@ -3,7 +3,7 @@ import { SmokeTestExtensionContext } from '@test/helpers/vscodefake/extensioncon
import * as vscode from 'vscode'; import * as vscode from 'vscode';
import { CMakeTools } from '@cmt/cmake-tools'; import { CMakeTools } from '@cmt/cmakeTools';
type Result<T> = Thenable<T> | T; type Result<T> = Thenable<T> | T;

Просмотреть файл

@ -1,7 +1,7 @@
/* eslint-disable no-unused-expressions */ /* eslint-disable no-unused-expressions */
import { CMakeExecutable, getCMakeExecutableInformation } from '@cmt/cmake/cmake-executable'; import { CMakeExecutable, getCMakeExecutableInformation } from '@cmt/cmake/cmake-executable';
import { ConfigurationReader } from '@cmt/config'; import { ConfigurationReader } from '@cmt/config';
import { ConfigureTrigger } from '@cmt/cmake-tools'; import { ConfigureTrigger } from '@cmt/cmakeTools';
import * as codemodel_api from '@cmt/drivers/codemodel-driver-interface'; import * as codemodel_api from '@cmt/drivers/codemodel-driver-interface';
import * as chai from 'chai'; import * as chai from 'chai';
import { expect } from 'chai'; import { expect } from 'chai';

Просмотреть файл

@ -1,6 +1,6 @@
/* eslint-disable no-unused-expressions */ /* eslint-disable no-unused-expressions */
import { CMakeExecutable, getCMakeExecutableInformation } from '@cmt/cmake/cmake-executable'; import { CMakeExecutable, getCMakeExecutableInformation } from '@cmt/cmake/cmake-executable';
import { ConfigureTrigger } from '@cmt/cmake-tools'; import { ConfigureTrigger } from '@cmt/cmakeTools';
import { ConfigurationReader } from '@cmt/config'; import { ConfigurationReader } from '@cmt/config';
import * as chai from 'chai'; import * as chai from 'chai';
import { expect } from 'chai'; import { expect } from 'chai';

Просмотреть файл

@ -10,7 +10,7 @@ import * as kit from '../../src/kit';
import * as triple from '../../src/triple'; import * as triple from '../../src/triple';
import { fs } from '../../src/pr'; import { fs } from '../../src/pr';
import { CMakeTools } from '@cmt/cmake-tools'; import { CMakeTools } from '@cmt/cmakeTools';
import { clearExistingKitConfigurationFile, DefaultEnvironment } from '@test/util'; import { clearExistingKitConfigurationFile, DefaultEnvironment } from '@test/util';
const here = __dirname; const here = __dirname;

Просмотреть файл

@ -1,4 +1,4 @@
import { CMakeTools } from '@cmt/cmake-tools'; import { CMakeTools } from '@cmt/cmakeTools';
import { Kit, scanForKits, kitsForWorkspaceDirectory } from '@cmt/kit'; import { Kit, scanForKits, kitsForWorkspaceDirectory } from '@cmt/kit';
import paths from '@cmt/paths'; import paths from '@cmt/paths';
import { fs } from '@cmt/pr'; import { fs } from '@cmt/pr';