code-oss: fix mem usage, fuck husky

This commit is contained in:
psykose 2022-06-17 00:22:35 +00:00
parent e77ea91a35
commit f046cfcb84
Signed by: psykose
SSH key fingerprint: SHA256:HwlGVJNLZqHoOvMtkshyGaXLkcdbEJahYMlepHFL+Uk

View file

@ -29,20 +29,20 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/microsoft/vscode/archive/ref
builddir="$srcdir/vscode-$pkgver" builddir="$srcdir/vscode-$pkgver"
options="!check" options="!check"
export GIT_DIR="$srcdir"
export ELECTRON_SKIP_BINARY_DOWNLOAD=1 export ELECTRON_SKIP_BINARY_DOWNLOAD=1
export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
prepare() { prepare() {
default_prepare default_prepare
# fuck you husky
git init . -b xD
yarn config set python python3 yarn config set python python3
yarn install --frozen-lockfile yarn install --frozen-lockfile
} }
build() { 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() { package() {