55 * Licensed under the LGPLv3 License. See LICENSE.txt in the project root for license information.
66 * ------------------------------------------------------------------------------------------ */
77'use strict' ;
8- import { createVSIX } from '@vscode/vsce' ;
9- import { clean , cleanOmnisharpDir } from './fsUtils.mjs' ;
8+ import { createVSIX } from '@vscode/vsce' ;
9+ import { clean } from './fsUtils.mjs' ;
1010import { info } from 'fancy-log' ;
1111import downloadJre from './jreDownload.mjs' ;
1212import cycloneDx from './sbomGeneration.mjs' ;
@@ -15,12 +15,7 @@ import { deployBuildInfo, deployVsixWithPattern } from './deployUtils.mjs';
1515import populateBuildNumber from './populateBuildNumber.mjs' ;
1616import signVsix from './sign.mjs' ;
1717import _default from './constants.mjs' ;
18- import {
19- downloadOmnisharpAllPlatformDistributions ,
20- downloadAndExtractOmnisharp ,
21- omnisharpPlatformMapping
22- } from './omnisharpDownload.mjs' ;
23- const { TARGETED_PLATFORMS , LATEST_JRE , OMNISHARP_VERSION } = _default ;
18+ const { TARGETED_PLATFORMS , LATEST_JRE } = _default ;
2419
2520export async function deployUniversal ( ) {
2621 commonPreBuildTasks ( ) ;
@@ -37,7 +32,6 @@ export async function deployAllMicrosoft() {
3732}
3833
3934async function buildUniversal ( ) {
40- await downloadOmnisharpAllPlatformDistributions ( OMNISHARP_VERSION ) ;
4135 await createVSIX ( ) ;
4236}
4337
@@ -51,10 +45,7 @@ async function buildTargeted() {
5145
5246async function buildForPlatform ( platform ) {
5347 await downloadJre ( platform , LATEST_JRE ) ;
54- await downloadAndExtractOmnisharp ( OMNISHARP_VERSION , omnisharpPlatformMapping [ platform ] ) ;
55- await downloadAndExtractOmnisharp ( OMNISHARP_VERSION , 'net6.0' ) ;
5648 await createVSIX ( { target : platform } ) ;
57- cleanOmnisharpDir ( ) ;
5849}
5950
6051function commonPreBuildTasks ( ) {
0 commit comments