mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-11 13:51:25 -05:00
@@ -374,8 +374,13 @@ function prepareRpmPackage(arch) {
|
||||
|
||||
function buildRpmPackage(arch) {
|
||||
var rpmArch = getRpmPackageArch(arch);
|
||||
var rpmOut = rpmBuildPath + '/RPMS/' + rpmArch;
|
||||
var destination = '.build/linux/rpm/' + rpmArch;
|
||||
return shell.task([
|
||||
'mkdir -p ' + destination,
|
||||
'fakeroot rpmbuild -bb ' + rpmBuildPath + '/SPECS/' + product.applicationName + '.spec --target=' + rpmArch,
|
||||
'cp ' + rpmOut + '/* ' + destination,
|
||||
'createrepo ' + destination
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user