Implement .rpm package gulp task

.rpm packages can now be build with:

    gulp vscode-linux-<arch>-build-rpm

The resulting package will be output to ~/rpmbuild/RPMS/<arch>/ and can be
installed on a Red Hat-based distro with:

    yum localinstall <path>

Note that Debian systems can build the package after installing the 'rpm'
package:

    apt-get install rpm

This was tested building 64-bit on Ubuntu 15.10 and installing on CentOS 7.

Fixes #3595
This commit is contained in:
Daniel Imms
2016-03-07 12:30:46 -08:00
parent 571ba1fcf1
commit 3ddbbe9a95
3 changed files with 84 additions and 5 deletions

View File

@@ -0,0 +1,10 @@
[Desktop Entry]
Name=@@NAME_LONG@@
Comment=Code Editing. Redefined.
GenericName=Text Editor
Exec=/usr/bin/@@NAME@@ %U
Icon=@@NAME@@
Type=Application
StartupNotify=true
Categories=Utility;TextEditor;Development;IDE;
MimeType=text/plain;