summaryrefslogtreecommitdiff
path: root/development/vscode/vscode.SlackBuild
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2018-03-09 07:29:19 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-10 07:11:06 +0700
commit2e36f6c2b9d9b849b2f8dc104d8f462f700e1fef (patch)
tree3001cc37189345c0712778eb8e3093439c329931 /development/vscode/vscode.SlackBuild
parentc4a61bf167d3616cf5830201c92c84eff7ab79ac (diff)
downloadslackbuilds-2e36f6c2b9d9b849b2f8dc104d8f462f700e1fef.tar.gz
development/vscode: Updated for version 1.21.0.
Signed-off-by: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Diffstat (limited to 'development/vscode/vscode.SlackBuild')
-rw-r--r--development/vscode/vscode.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/development/vscode/vscode.SlackBuild b/development/vscode/vscode.SlackBuild
index 7d31f82b32..0c6f69beaa 100644
--- a/development/vscode/vscode.SlackBuild
+++ b/development/vscode/vscode.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Microsoft VSCode
-# Copyright 2017 Andre Barboza, Belo Horizonte
+# Copyright 2017-2018 Andre Barboza, Belo Horizonte, Andreas Guldstrand
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=vscode
-VERSION=${VERSION:-1.16.1}
-COMMIT=${COMMIT:-27492b6bf3acb0775d82d2f87b25a93490673c6d}
+VERSION=${VERSION:-1.21.0}
+COMMIT=${COMMIT:-9a199d77c82fcb82f39c68bb33c614af01c111ba}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,7 +53,7 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCDIR
+rm -rf $PRGNAM-$VERSION VSCode-linux-$BUILDARCH
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -64,7 +64,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch -p1 < ${CWD}/product.json.patch
-./scripts/npm.sh install --arch=$BUILDARCH --unsafe-perm
+yarn
node --max_old_space_size=2048 ./node_modules/.bin/gulp vscode-linux-${BUILDARCH}
cd $TMP/VSCode-linux-$BUILDARCH