diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 4 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Fri Apr 15 16:08:48 UTC 2016 +# Wed May 4 23:28:43 UTC 2016 pkgbase = visual-studio-code-oss pkgdesc = Visual Studio Code for Linux, Open Source version pkgver = 1.0.0 - pkgrel = 1 + pkgrel = 2 url = https://code.visualstudio.com/ arch = i686 arch = x86_64 @@ -3,7 +3,7 @@ pkgname=visual-studio-code-oss pkgdesc='Visual Studio Code for Linux, Open Source version' pkgver=1.0.0 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') url='https://code.visualstudio.com/' license=('MIT') @@ -42,7 +42,10 @@ build() { cd "${srcdir}/vscode-${pkgver}" ./scripts/npm.sh install - gulp vscode-linux-${_vscode_arch} + + # The default memory limit is too low on some systems (i686?). This will + # set it to 2GB -- change it if this number doesn't work for your system + node --max_old_space_size=2048 /usr/bin/gulp vscode-linux-${_vscode_arch} } package() { |