From f046cfcb849879c0610df78164470d829ef8fa4f Mon Sep 17 00:00:00 2001 From: psykose Date: Fri, 17 Jun 2022 00:22:35 +0000 Subject: [PATCH] code-oss: fix mem usage, fuck husky --- code-oss/APKBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code-oss/APKBUILD b/code-oss/APKBUILD index 9d54946..8b93c79 100644 --- a/code-oss/APKBUILD +++ b/code-oss/APKBUILD @@ -29,20 +29,20 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/microsoft/vscode/archive/ref builddir="$srcdir/vscode-$pkgver" options="!check" -export GIT_DIR="$srcdir" - export ELECTRON_SKIP_BINARY_DOWNLOAD=1 export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 prepare() { default_prepare + # fuck you husky + git init . -b xD yarn config set python python3 yarn install --frozen-lockfile } build() { - node --max_old_space_size=4095 ./node_modules/.bin/gulp vscode-linux-x64-min + node --max_old_space_size=2600 ./node_modules/.bin/gulp vscode-linux-x64-min } package() {