mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
* Merge from vscode 8aa90d444f5d051984e8055f547c4252d53479b3 * pipeline errors * fix build
18 lines
491 B
Bash
Executable File
18 lines
491 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
export NODE_ENV=development
|
|
export VSCODE_DEV=1
|
|
export VSCODE_INJECT_NODE_MODULE_LOOKUP_PATH="$HOME/.vscode-remote/bin/dev-remote/node_modules"
|
|
|
|
cd $VSCODE_REPO
|
|
|
|
if [ -z "$extensions" ] ; then
|
|
echo No extensions to install.
|
|
mkdir -p /root/.vscode-remote
|
|
else
|
|
(PATH="$HOME/bin:$PATH" node out/remoteExtensionHostAgent.js ${VSCODE_TELEMETRY_ARG} ${extensions} || true)
|
|
fi
|
|
|
|
PATH="$HOME/bin:$PATH" node out/remoteExtensionHostAgent.js ${VSCODE_TELEMETRY_ARG} --port $PORT
|