Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #71 from vazexqi/add-code-extensions-path-env-var
Browse files Browse the repository at this point in the history
Add CODE_EXTENSIONS_PATH env var
  • Loading branch information
bpasero authored Jul 3, 2017
2 parents 4da0d7b + c99be13 commit 64f851d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/test
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ if (process.env.CODE_TESTS_PATH) {
}

var testsWorkspace = process.env.CODE_TESTS_WORKSPACE || testsFolder;
var extensionsFolder = process.env.CODE_EXTENSIONS_PATH || process.cwd();

console.log('### VS Code Extension Test Run ###');
console.log('Current working directory: ' + process.cwd());
Expand All @@ -46,7 +47,7 @@ function runTests() {
var executable = (process.platform === 'darwin') ? darwinExecutable : process.platform === 'win32' ? windowsExecutable : linuxExecutable;
var args = [
testsWorkspace,
'--extensionDevelopmentPath=' + process.cwd(),
'--extensionDevelopmentPath=' + extensionsFolder,
'--extensionTestsPath=' + testsFolder
];

Expand Down

0 comments on commit 64f851d

Please sign in to comment.