Skip to content

Commit

Permalink
Removed runtime ids (#1931)
Browse files Browse the repository at this point in the history
  • Loading branch information
akshita31 authored and gregg-miskelly committed Dec 31, 2017
1 parent 2df5f6b commit b9f98ac
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const PlatformInformation = platform.PlatformInformation;

function cleanSync(deleteVsix) {
del.sync('install.*');
del.sync('.omnisharp-*');
del.sync('.omnisharp*');
del.sync('.debugger');

if (deleteVsix) {
Expand Down Expand Up @@ -103,7 +103,7 @@ function doOfflinePackage(platformInfo, packageName, packageJSON) {
cleanSync(false);
return install(platformInfo, packageJSON)
.then(() => {
doPackageSync(packageName + '-' + platformInfo.runtimeId + '.vsix');
doPackageSync(packageName + '-' + platformInfo.platform + '-' + platformInfo.architecture + '.vsix');
});
}

Expand All @@ -130,13 +130,7 @@ gulp.task('package:offline', ['clean'], () => {
var packages = [];
packages.push(new PlatformInformation('win32', 'x86_64'));
packages.push(new PlatformInformation('darwin', 'x86_64'));
packages.push(new PlatformInformation('linux', 'x86_64', new LinuxDistribution('centos', '7')));
packages.push(new PlatformInformation('linux', 'x86_64', new LinuxDistribution('debian', '8')));
packages.push(new PlatformInformation('linux', 'x86_64', new LinuxDistribution('fedora', '23')));
packages.push(new PlatformInformation('linux', 'x86_64', new LinuxDistribution('opensuse', '13.2')));
packages.push(new PlatformInformation('linux', 'x86_64', new LinuxDistribution('rhel', '7.2')));
packages.push(new PlatformInformation('linux', 'x86_64', new LinuxDistribution('ubuntu', '14.04')));
packages.push(new PlatformInformation('linux', 'x86_64', new LinuxDistribution('ubuntu', '16.04')));
packages.push(new PlatformInformation('linux', 'x86_64'));

var promise = Promise.resolve();

Expand Down

0 comments on commit b9f98ac

Please sign in to comment.