mirror of
https://github.com/Microsoft/vscode
synced 2024-08-26 20:39:37 +00:00
25 lines
389 B
Batchfile
25 lines
389 B
Batchfile
@echo off
|
|
setlocal
|
|
|
|
title VSCode Server
|
|
|
|
pushd %~dp0\..
|
|
|
|
:: Configuration
|
|
set NODE_ENV=development
|
|
set VSCODE_DEV=1
|
|
|
|
:: Sync built-in extensions
|
|
call yarn download-builtin-extensions
|
|
|
|
:: Download nodejs executable for remote
|
|
call yarn gulp node
|
|
|
|
:: Launch Server
|
|
FOR /F "tokens=*" %%g IN ('node build/lib/node.js') do (SET NODE=%%g)
|
|
call "%NODE%" scripts\code-server.js %*
|
|
|
|
popd
|
|
|
|
endlocal
|