mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-23 11:49:38 +00:00
* Revert commit change * Revert commit change * Revert commit change * Revert commit change * Revert commit change * Initial work to move to utilizing the NPM module * Fix some paths * Bump NPM module * Update move command * Remove wrong directory in config * More build testing * Remove some debugging stuff * Fix relative dirs * Move node module to build package.json * Bump vscode-telemetry-extractor to 1.4.1 * Bump telemetry extractor version
19 lines
1.1 KiB
Bash
Executable File
19 lines
1.1 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
cd $BUILD_STAGINGDIRECTORY
|
|
mkdir extraction
|
|
cd extraction
|
|
git clone --depth 1 https://github.com/Microsoft/vscode-extension-telemetry.git
|
|
git clone --depth 1 https://github.com/Microsoft/vscode-chrome-debug-core.git
|
|
git clone --depth 1 https://github.com/Microsoft/vscode-node-debug2.git
|
|
git clone --depth 1 https://github.com/Microsoft/vscode-node-debug.git
|
|
git clone --depth 1 https://github.com/Microsoft/vscode-html-languageservice.git
|
|
git clone --depth 1 https://github.com/Microsoft/vscode-json-languageservice.git
|
|
$BUILD_SOURCESDIRECTORY/build/node_modules/.bin/vscode-telemetry-extractor --sourceDir $BUILD_SOURCESDIRECTORY --excludedDir $BUILD_SOURCESDIRECTORY/extensions --outputDir . --applyEndpoints
|
|
$BUILD_SOURCESDIRECTORY/build/node_modules/.bin/vscode-telemetry-extractor --config $BUILD_SOURCESDIRECTORY/build/azure-pipelines/common/telemetry-config.json -o .
|
|
mkdir -p $BUILD_SOURCESDIRECTORY/.build/telemetry
|
|
mv declarations-resolved.json $BUILD_SOURCESDIRECTORY/.build/telemetry/telemetry-core.json
|
|
mv config-resolved.json $BUILD_SOURCESDIRECTORY/.build/telemetry/telemetry-extensions.json
|
|
cd ..
|
|
rm -rf extraction |