mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
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
|