server bin cleanup

This commit is contained in:
Martin Aeschlimann
2022-01-11 16:34:28 +01:00
parent 1942718a4a
commit f4ba7dd12b
18 changed files with 78 additions and 26 deletions

View File

@@ -0,0 +1,24 @@
@echo off
setlocal
set ROOT_DIR=%~dp0..
set _FIRST_ARG=%1
if "%_FIRST_ARG:~0,9%"=="--inspect" (
set INSPECT=%1
shift
) else (
set INSPECT=
)
:loop1
if "%~1"=="" goto after_loop
set RESTVAR=%RESTVAR% %1
shift
goto loop1
:after_loop
"%ROOT_DIR%\node.exe" %INSPECT% "%ROOT_DIR%\out\vs\server\main.js" %RESTVAR%
endlocal