| 
														
															@@ -1,60 +1,35 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 #!/bin/bash 
														 | 
														
														 | 
														
															 #!/bin/bash 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-function keep_alive_small() { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  while true; do 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    echo . 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    read -t 60 < /proc/self/fd/1 > /dev/null 2>&1 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  done 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-} 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-function keep_alive() { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  while true; do 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    date 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    sleep 60 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  done 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-} 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+set -ex 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 if [[ "$SHOULD_BUILD" == "yes" ]]; then 
														 | 
														
														 | 
														
															 if [[ "$SHOULD_BUILD" == "yes" ]]; then 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  npm config set scripts-prepend-node-path true 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   export BUILD_SOURCEVERSION=$LATEST_MS_COMMIT 
														 | 
														
														 | 
														
															   export BUILD_SOURCEVERSION=$LATEST_MS_COMMIT 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   echo "LATEST_MS_COMMIT: ${LATEST_MS_COMMIT}" 
														 | 
														
														 | 
														
															   echo "LATEST_MS_COMMIT: ${LATEST_MS_COMMIT}" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   echo "BUILD_SOURCEVERSION: ${BUILD_SOURCEVERSION}" 
														 | 
														
														 | 
														
															   echo "BUILD_SOURCEVERSION: ${BUILD_SOURCEVERSION}" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  export npm_config_arch="$BUILDARCH" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  export npm_config_target_arch="$BUILDARCH" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    export npm_config_arch="$BUILDARCH" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    export npm_config_target_arch="$BUILDARCH" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  fi 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  ./prepare_vscode.sh 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  . prepare_vscode.sh 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															   cd vscode || exit 
														 | 
														
														 | 
														
															   cd vscode || exit 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  export NODE_ENV=production 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  # these tasks are very slow, so using a keep alive to keep travis alive 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    keep_alive_small & 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  else 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    keep_alive & 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  fi 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  KA_PID=$! 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  yarn monaco-compile-check 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  yarn valid-layers-check 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															   yarn gulp compile-build 
														 | 
														
														 | 
														
															   yarn gulp compile-build 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   yarn gulp compile-extensions-build 
														 | 
														
														 | 
														
															   yarn gulp compile-extensions-build 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   yarn gulp minify-vscode 
														 | 
														
														 | 
														
															   yarn gulp minify-vscode 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  yarn gulp minify-vscode-reh 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  yarn gulp minify-vscode-reh-web 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then 
														 | 
														
														 | 
														
															   if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    npm install --global create-dmg 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     yarn gulp vscode-darwin-min-ci 
														 | 
														
														 | 
														
															     yarn gulp vscode-darwin-min-ci 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    yarn gulp vscode-reh-darwin-min-ci 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    yarn gulp vscode-reh-web-darwin-min-ci 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   elif [[ "$CI_WINDOWS" == "True" ]]; then 
														 | 
														
														 | 
														
															   elif [[ "$CI_WINDOWS" == "True" ]]; then 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     cp LICENSE.txt LICENSE.rtf # windows build expects rtf license 
														 | 
														
														 | 
														
															     cp LICENSE.txt LICENSE.rtf # windows build expects rtf license 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     yarn gulp "vscode-win32-${BUILDARCH}-min-ci" 
														 | 
														
														 | 
														
															     yarn gulp "vscode-win32-${BUILDARCH}-min-ci" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    yarn gulp "vscode-reh-win32-${BUILDARCH}-min-ci" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    yarn gulp "vscode-reh-web-win32-${BUILDARCH}-min-ci" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     yarn gulp "vscode-win32-${BUILDARCH}-code-helper" 
														 | 
														
														 | 
														
															     yarn gulp "vscode-win32-${BUILDARCH}-code-helper" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     yarn gulp "vscode-win32-${BUILDARCH}-inno-updater" 
														 | 
														
														 | 
														
															     yarn gulp "vscode-win32-${BUILDARCH}-inno-updater" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     yarn gulp "vscode-win32-${BUILDARCH}-archive" 
														 | 
														
														 | 
														
															     yarn gulp "vscode-win32-${BUILDARCH}-archive" 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -62,8 +37,6 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     yarn gulp "vscode-win32-${BUILDARCH}-user-setup" 
														 | 
														
														 | 
														
															     yarn gulp "vscode-win32-${BUILDARCH}-user-setup" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   else # linux 
														 | 
														
														 | 
														
															   else # linux 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     yarn gulp vscode-linux-${BUILDARCH}-min-ci 
														 | 
														
														 | 
														
															     yarn gulp vscode-linux-${BUILDARCH}-min-ci 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    yarn gulp vscode-reh-linux-${BUILDARCH}-min-ci 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    yarn gulp vscode-reh-web-linux-${BUILDARCH}-min-ci 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     yarn gulp "vscode-linux-${BUILDARCH}-build-deb" 
														 | 
														
														 | 
														
															     yarn gulp "vscode-linux-${BUILDARCH}-build-deb" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     if [[ "$BUILDARCH" == "x64" ]]; then 
														 | 
														
														 | 
														
															     if [[ "$BUILDARCH" == "x64" ]]; then 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -72,7 +45,5 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     . ../create_appimage.sh 
														 | 
														
														 | 
														
															     . ../create_appimage.sh 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   fi 
														 | 
														
														 | 
														
															   fi 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  kill $KA_PID 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   cd .. 
														 | 
														
														 | 
														
															   cd .. 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 fi 
														 | 
														
														 | 
														
															 fi 
														 |