code-oss: fix mem usage, fuck husky
This commit is contained in:
parent
e77ea91a35
commit
f046cfcb84
1 changed files with 3 additions and 3 deletions
|
@ -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() {
|
||||
|
|
Reference in a new issue