From ec32eeb1c2d40f3cd0136c86dfe075f296d74a68 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Wed, 30 Mar 2016 21:33:39 -0700 Subject: [PATCH] Build yum repository Related #229 --- build/gulpfile.vscode.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/gulpfile.vscode.js b/build/gulpfile.vscode.js index 49be869addb..828e652ed88 100644 --- a/build/gulpfile.vscode.js +++ b/build/gulpfile.vscode.js @@ -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 ]); } -- GitLab