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"
|
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() {
|
||||||
|
|
Loading…
Reference in a new issue