TypeScript compile needs to happen as part of prepublish step. (#1629) · bluebycode/vscode-cpptools@bea033e · GitHub
Skip to content

Commit bea033e

Browse files
bobbrowpieandcakes
authored andcommitted
TypeScript compile needs to happen as part of prepublish step. (microsoft#1629)
1 parent b05e8c5 commit bea033e

3 files changed

Lines changed: 11 additions & 13 deletions

File tree

Extension/package.json

Lines changed: 1 addition & 1 deletion

Extension/src/Support/copyDebuggerDependencies.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,6 @@ function makeDirectory(dir: string): void {
200200
}
201201
}
202202

203-
let devWorkFlowMessage: string = '\nWARNING: If you are trying to build and run the extension locally, please set the environment variable CPPTOOLS_DEV=1 and try again.\n';
204-
205203
if (enableDevWorkflow()) {
206204
removeFolder("./debugAdapters");
207205
}
@@ -213,5 +211,6 @@ if (enableDevWorkflow()) {
213211
copyMonoDependencies();
214212
copyBinaryDependencies();
215213
} else {
216-
console.warn(devWorkFlowMessage);
214+
console.warn('WARNING: Debugger dependencies are missing.');
215+
console.log('If you are trying to build and run the extension from source and need the debugger dependencies, set the environment variable CPPTOOLS_DEV=1 and try again.');
217216
}

Extension/src/Support/prepublish.js

Lines changed: 8 additions & 9 deletions

0 commit comments

Comments
 (0)