mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-25 04:36:23 +00:00
Improvements to Telemetry Extractor Build (#76196)
* Allow the error to be surfaced to the user to provide more information about what is happening
* Testing gulp src
* Move json to app root
* Telemetry tooling commit update
* Harcode telemetry commit
* Update distro to match master
* statSync try catch
* build 💄
* fix build
* make build fail
* fix build
* fix build
* whitespace
This commit is contained in:
@@ -62,8 +62,6 @@ const vscodeResources = [
|
||||
'out-build/bootstrap-amd.js',
|
||||
'out-build/bootstrap-window.js',
|
||||
'out-build/paths.js',
|
||||
'out-build/telemetry-core.json',
|
||||
'out-build/telemetry-extensions.json',
|
||||
'out-build/vs/**/*.{svg,png,cur,html}',
|
||||
'!out-build/vs/code/browser/**/*.html',
|
||||
'out-build/vs/base/common/performance.js',
|
||||
@@ -317,6 +315,8 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
|
||||
// TODO the API should be copied to `out` during compile, not here
|
||||
const api = gulp.src('src/vs/vscode.d.ts').pipe(rename('out/vs/vscode.d.ts'));
|
||||
|
||||
const telemetry = gulp.src('.build/telemetry/**', { base: '.build/telemetry', dot: true });
|
||||
|
||||
const depsSrc = [
|
||||
..._.flatten(productionDependencies.map(d => path.relative(root, d.path)).map(d => [`${d}/**`, `!${d}/**/{test,tests}/**`])),
|
||||
// @ts-ignore JSON checking: dependencies is optional
|
||||
@@ -333,6 +333,7 @@ function packageTask(platform, arch, sourceFolderName, destinationFolderName, op
|
||||
productJsonStream,
|
||||
license,
|
||||
api,
|
||||
telemetry,
|
||||
sources,
|
||||
deps
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user