mirror of
https://github.com/VSCodium/vscodium
synced 2024-08-25 03:56:11 +00:00
Try keep alive for minify-vscode task
This commit is contained in:
parent
5b1a4a1950
commit
e21f491ecd
14
build.sh
14
build.sh
|
@ -1,5 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
function keep_alive() {
|
||||
while true; do
|
||||
date
|
||||
sleep 60
|
||||
done
|
||||
}
|
||||
|
||||
if [[ "$SHOULD_BUILD" == "yes" ]]; then
|
||||
cp -rp src/* vscode/
|
||||
cd vscode
|
||||
|
@ -57,7 +64,13 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
|
|||
|
||||
yarn gulp compile-build
|
||||
yarn gulp compile-extensions-build
|
||||
|
||||
# this task is very slow on mac, so using a keep alive to keep travis alive
|
||||
keep_alive &
|
||||
KA_PID=$!
|
||||
yarn gulp minify-vscode
|
||||
kill $KA_PID
|
||||
|
||||
yarn gulp minify-vscode-reh
|
||||
yarn gulp minify-vscode-reh-web
|
||||
|
||||
|
@ -81,7 +94,6 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
|
|||
yarn gulp vscode-reh-linux-x64-min-ci
|
||||
yarn gulp vscode-reh-web-linux-x64-min-ci
|
||||
|
||||
yarn gulp "vscode-linux-${BUILDARCH}-min"
|
||||
yarn gulp "vscode-linux-${BUILDARCH}-build-deb"
|
||||
yarn gulp "vscode-linux-${BUILDARCH}-build-rpm"
|
||||
. ../create_appimage.sh
|
||||
|
|
Loading…
Reference in a new issue