Skip to content

Commit

Permalink
feat: remove terraform cloud integration functions
Browse files Browse the repository at this point in the history
Signed-off-by: Gamunu Balagalla <[email protected]>
  • Loading branch information
gamunu committed Jul 18, 2024
1 parent 60beaf0 commit 8518a9c
Show file tree
Hide file tree
Showing 43 changed files with 8,941 additions and 6,963 deletions.
16 changes: 1 addition & 15 deletions .vscode-test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/

import { defineConfig } from '@vscode/test-cli';
<<<<<<< HEAD
import fs from 'fs';
import path from 'path';

Expand All @@ -22,27 +21,14 @@ const configs = testSuiteFolderNames.map(folderName => ({
workspaceFolder: process.env['VSCODE_WORKSPACE_FOLDER'] ?? path.join(BASE_SRC_PATH, folderName, "workspace"),
launchArgs: ['--disable-extensions', '--disable-workspace-trust'],
files: `${BASE_OUT_PATH}/${folderName}/*.test.js`,
=======

const config = defineConfig({
version: process.env['VSCODE_VERSION'] ?? 'stable',
workspaceFolder: process.env['VSCODE_WORKSPACE_FOLDER'] ?? './test/fixtures',
launchArgs: ['--disable-extensions', '--disable-workspace-trust'],
files: 'out/test/**/*.test.js',
>>>>>>> 62ff678 (feat: add opentofu language server download (#43))
mocha: {
ui: 'tdd',
color: true,
timeout: 100000,
<<<<<<< HEAD
require: ['./out/test/mockSetup.js'], // mocks are shared for all test suites
// require: ['./out/test/mockSetup.js'], // mocks are shared for all test suites, but not needed for opentofu
},
}));

const config = defineConfig(configs);
=======
},
});
>>>>>>> 62ff678 (feat: add opentofu language server download (#43))

export default config;
1 change: 1 addition & 0 deletions build/downloader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ async function downloadFile(url: string, installPath: string) {

async function downloadSyntax(info: ExtensionInfo) {
const release = `v${info.syntaxVersion}`;
info.name = 'terraform';

const cwd = path.resolve(__dirname);
const buildDir = path.basename(cwd);
Expand Down
Loading

0 comments on commit 8518a9c

Please sign in to comment.